Add bmx7 kernel modules
This commit is contained in:
parent
2cf96caf18
commit
8def8ec0e1
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue