892
edits
Line 206: | Line 206: | ||
Edit up_hook.sh to contain the following: | Edit up_hook.sh to contain the following: | ||
<pre> | |||
#!/bin/sh | |||
INTERFACE="$3" | |||
ifconfig $INTERFACE up | |||
batctl if add $INTERFACE | |||
if [ `cat /sys/class/net/bat0/operstate` != "down" ]; then | |||
ifup bat0 | |||
fi | |||
</pre> | |||
Now you're ready to run the broker. | Now you're ready to run the broker. |