Zero IP addresses
This commit is contained in:
parent
82a2142fce
commit
f1753babea
|
@ -1827,10 +1827,12 @@ function mesh_batman_bridge {
|
|||
echo ' fi' >> $batman_script
|
||||
echo '' >> $batman_script
|
||||
echo ' if [ "$EIFACE" ] ; then' >> $batman_script
|
||||
echo ' ifconfig $EIFACE up promisc' >> $batman_script
|
||||
echo ' brctl addbr $BRIDGE' >> $batman_script
|
||||
echo ' brctl addif $BRIDGE bat0' >> $batman_script
|
||||
echo ' brctl addif $BRIDGE $EIFACE' >> $batman_script
|
||||
echo ' ifconfig bat0 0.0.0.0' >> $batman_script
|
||||
echo ' ifconfig $EIFACE 0.0.0.0' >> $batman_script
|
||||
echo ' ifconfig $EIFACE up promisc' >> $batman_script
|
||||
echo ' ifconfig $BRIDGE up' >> $batman_script
|
||||
echo ' fi' >> $batman_script
|
||||
echo '' >> $batman_script
|
||||
|
|
|
@ -229,10 +229,12 @@ function mesh_batman {
|
|||
echo ' fi' >> $batman_script
|
||||
echo '' >> $batman_script
|
||||
echo ' if [ "$EIFACE" ] ; then' >> $batman_script
|
||||
echo ' ifconfig $EIFACE up promisc' >> $batman_script
|
||||
echo ' brctl addbr $BRIDGE' >> $batman_script
|
||||
echo ' brctl addif $BRIDGE bat0' >> $batman_script
|
||||
echo ' brctl addif $BRIDGE $EIFACE' >> $batman_script
|
||||
echo ' ifconfig bat0 0.0.0.0' >> $batman_script
|
||||
echo ' ifconfig $EIFACE 0.0.0.0' >> $batman_script
|
||||
echo ' ifconfig $EIFACE up promisc' >> $batman_script
|
||||
echo ' ifconfig $BRIDGE up' >> $batman_script
|
||||
echo ' fi' >> $batman_script
|
||||
echo '' >> $batman_script
|
||||
|
|
Loading…
Reference in New Issue