batman not babel
This commit is contained in:
parent
a99db1ab1b
commit
aa6f715bce
|
@ -1821,7 +1821,8 @@ function mesh_batman_bridge {
|
|||
echo ' modprobe batman-adv' >> $batman_script
|
||||
echo ' batctl if add $IFACE' >> $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 '' >> $batman_script
|
||||
echo ' #Use persistent HWAddr' >> $batman_script
|
||||
|
@ -1864,7 +1865,7 @@ function mesh_batman_bridge {
|
|||
echo ' ifconfig $EIFACE down -promisc' >> $batman_script
|
||||
echo ' fi' >> $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 '' >> $batman_script
|
||||
echo ' batctl if del $IFACE' >> $batman_script
|
||||
|
|
|
@ -232,8 +232,8 @@ function mesh_batman {
|
|||
echo ' batctl if add $IFACE' >> $batman_script
|
||||
echo ' ifconfig $IFACE up' >> $batman_script
|
||||
echo ' avahi-autoipd -D $IFACE' >> $batman_script
|
||||
echo ' ifconfig $IFACE:avahi netmask 255.255.255.0' >> $babel_script
|
||||
echo ' ifconfig bat0 up promisc' >> $babel_script
|
||||
echo ' ifconfig $IFACE:avahi netmask 255.255.255.0' >> $batman_script
|
||||
echo ' ifconfig bat0 up promisc' >> $batman_script
|
||||
echo '' >> $batman_script
|
||||
echo ' #Use persistent HWAddr' >> $batman_script
|
||||
echo ' ether_new=$(ifconfig eth0 | grep HWaddr | sed -e "s/.*HWaddr //")' >> $batman_script
|
||||
|
|
Loading…
Reference in New Issue