Difference between revisions of "Mesh/Relay setup"

20 bytes added ,  05:53, 24 December 2013
m
Line 214: Line 214:
batctl if add $INTERFACE
batctl if add $INTERFACE


if [ `cat /sys/class/net/bat0/operstate` != "down" ]; then
if [ `cat /sys/class/net/bat0/operstate` != "up" ]; then
         ifup bat0
         ifconfig bat0 down && ifup bat0
fi
fi
</pre>
</pre>