babel
This commit is contained in:
parent
ad2c37e52c
commit
9dfbcea165
|
@ -109,11 +109,11 @@ function mesh_babel {
|
||||||
echo ' exit 1' >> $babel_script
|
echo ' exit 1' >> $babel_script
|
||||||
echo 'fi' >> $babel_script
|
echo 'fi' >> $babel_script
|
||||||
echo '' >> $babel_script
|
echo '' >> $babel_script
|
||||||
echo 'if [ -f /bin/systemctl ]; then' >> $batman_script
|
echo 'if [ -f /bin/systemctl ]; then' >> $babel_script
|
||||||
echo ' systemctl stop networking' >> $batman_script
|
echo ' systemctl stop networking' >> $babel_script
|
||||||
echo 'else' >> $batman_script
|
echo 'else' >> $babel_script
|
||||||
echo ' service networking stop' >> $batman_script
|
echo ' service networking stop' >> $babel_script
|
||||||
echo 'fi' >> $batman_script
|
echo 'fi' >> $babel_script
|
||||||
echo 'ifconfig $IFACE down' >> $babel_script
|
echo 'ifconfig $IFACE down' >> $babel_script
|
||||||
echo -n 'iwconfig $IFACE mode ad-hoc channel ' >> $babel_script
|
echo -n 'iwconfig $IFACE mode ad-hoc channel ' >> $babel_script
|
||||||
echo "$WIFI_CHANNEL essid \"$ESSID\"" >> $babel_script
|
echo "$WIFI_CHANNEL essid \"$ESSID\"" >> $babel_script
|
||||||
|
|
Loading…
Reference in New Issue