|
@@ -139,8 +139,14 @@ function install_batman {
|
139
|
139
|
$CHROOT_PREFIX apt-get -yq install python-dev libevent-dev ebtables python-pip git
|
140
|
140
|
$CHROOT_PREFIX apt-get -yq install wireless-tools rfkill
|
141
|
141
|
|
142
|
|
- if ! grep -q "batman_adv" $rootdir/etc/modules; then
|
143
|
|
- echo 'batman_adv' >> $rootdir/etc/modules
|
|
142
|
+ if ! grep -q "batman_adv" "$rootdir/etc/modules"; then
|
|
143
|
+ echo 'batman_adv' >> "$rootdir/etc/modules"
|
|
144
|
+ fi
|
|
145
|
+ if ! grep -q "tunnel6" "$rootdir/etc/modules"; then
|
|
146
|
+ echo 'tunnel6' >> "$rootdir/etc/modules"
|
|
147
|
+ fi
|
|
148
|
+ if ! grep -q "ip6_tunnel" "$rootdir/etc/modules"; then
|
|
149
|
+ echo 'ip6_tunnel' >> "$rootdir/etc/modules"
|
144
|
150
|
fi
|
145
|
151
|
|
146
|
152
|
BATMAN_SCRIPT=$rootdir/var/lib/batman
|