batman not babel

This commit is contained in:
Bob Mottram 2015-08-09 11:13:21 +01:00
parent a99db1ab1b
commit aa6f715bce
2 changed files with 5 additions and 4 deletions

View File

@ -1821,7 +1821,8 @@ function mesh_batman_bridge {
echo ' modprobe batman-adv' >> $batman_script echo ' modprobe batman-adv' >> $batman_script
echo ' batctl if add $IFACE' >> $batman_script echo ' batctl if add $IFACE' >> $batman_script
echo ' ifconfig $IFACE up' >> $batman_script echo ' ifconfig $IFACE up' >> $batman_script
echo ' avahi-autoipd -D bat0' >> $batman_script echo ' avahi-autoipd -D $IFACE' >> $batman_script
echo ' ifconfig $IFACE:avahi netmask 255.255.255.0' >> $batman_script
echo ' ifconfig bat0 up promisc' >> $batman_script echo ' ifconfig bat0 up promisc' >> $batman_script
echo '' >> $batman_script echo '' >> $batman_script
echo ' #Use persistent HWAddr' >> $batman_script echo ' #Use persistent HWAddr' >> $batman_script
@ -1864,7 +1865,7 @@ function mesh_batman_bridge {
echo ' ifconfig $EIFACE down -promisc' >> $batman_script echo ' ifconfig $EIFACE down -promisc' >> $batman_script
echo ' fi' >> $batman_script echo ' fi' >> $batman_script
echo '' >> $batman_script echo '' >> $batman_script
echo ' avahi-autoipd -k bat0' >> $batman_script echo ' avahi-autoipd -k $IFACE' >> $batman_script
echo ' ifconfig bat0 down -promisc' >> $batman_script echo ' ifconfig bat0 down -promisc' >> $batman_script
echo '' >> $batman_script echo '' >> $batman_script
echo ' batctl if del $IFACE' >> $batman_script echo ' batctl if del $IFACE' >> $batman_script

View File

@ -232,8 +232,8 @@ function mesh_batman {
echo ' batctl if add $IFACE' >> $batman_script echo ' batctl if add $IFACE' >> $batman_script
echo ' ifconfig $IFACE up' >> $batman_script echo ' ifconfig $IFACE up' >> $batman_script
echo ' avahi-autoipd -D $IFACE' >> $batman_script echo ' avahi-autoipd -D $IFACE' >> $batman_script
echo ' ifconfig $IFACE:avahi netmask 255.255.255.0' >> $babel_script echo ' ifconfig $IFACE:avahi netmask 255.255.255.0' >> $batman_script
echo ' ifconfig bat0 up promisc' >> $babel_script echo ' ifconfig bat0 up promisc' >> $batman_script
echo '' >> $batman_script echo '' >> $batman_script
echo ' #Use persistent HWAddr' >> $batman_script echo ' #Use persistent HWAddr' >> $batman_script
echo ' ether_new=$(ifconfig eth0 | grep HWaddr | sed -e "s/.*HWaddr //")' >> $batman_script echo ' ether_new=$(ifconfig eth0 | grep HWaddr | sed -e "s/.*HWaddr //")' >> $batman_script