Skip to content
Snippets Groups Projects
Commit 8def8ec0 authored by Bob Mottram's avatar Bob Mottram
Browse files

Add bmx7 kernel modules

parent 2cf96caf
No related branches found
No related tags found
No related merge requests found
......@@ -105,6 +105,12 @@ function mesh_install_batman {
if ! grep -q "batman_adv" "$rootdir/etc/modules"; then
echo 'batman_adv' >> "$rootdir/etc/modules"
fi
if ! grep -q "tunnel6" "$rootdir/etc/modules"; then
echo 'tunnel6' >> "$rootdir/etc/modules"
fi
if ! grep -q "ip6_tunnel" "$rootdir/etc/modules"; then
echo 'ip6_tunnel' >> "$rootdir/etc/modules"
fi
BATMAN_SCRIPT=$rootdir/var/lib/batman
......
......@@ -139,8 +139,14 @@ function install_batman {
$CHROOT_PREFIX apt-get -yq install python-dev libevent-dev ebtables python-pip git
$CHROOT_PREFIX apt-get -yq install wireless-tools rfkill
if ! grep -q "batman_adv" $rootdir/etc/modules; then
echo 'batman_adv' >> $rootdir/etc/modules
if ! grep -q "batman_adv" "$rootdir/etc/modules"; then
echo 'batman_adv' >> "$rootdir/etc/modules"
fi
if ! grep -q "tunnel6" "$rootdir/etc/modules"; then
echo 'tunnel6' >> "$rootdir/etc/modules"
fi
if ! grep -q "ip6_tunnel" "$rootdir/etc/modules"; then
echo 'ip6_tunnel' >> "$rootdir/etc/modules"
fi
BATMAN_SCRIPT=$rootdir/var/lib/batman
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment