892
edits
Line 214: | Line 214: | ||
batctl if add $INTERFACE | batctl if add $INTERFACE | ||
if [ `cat /sys/class/net/bat0/operstate` != " | if [ `cat /sys/class/net/bat0/operstate` != "up" ]; then | ||
ifup bat0 | ifconfig bat0 down && ifup bat0 | ||
fi | fi | ||
</pre> | </pre> |