babel
This commit is contained in:
parent
4cbb4f74d7
commit
ad2c37e52c
|
@ -101,11 +101,11 @@ function mesh_babel {
|
|||
echo ' echo "Interface $IFACE was not found"' >> $babel_script
|
||||
echo ' ifconfig $IFACE down' >> $babel_script
|
||||
echo ' pkill babeld' >> $babel_script
|
||||
echo ' if [ -f /bin/systemctl ]; then' >> $batman_script
|
||||
echo ' systemctl restart networking' >> $batman_script
|
||||
echo ' else' >> $batman_script
|
||||
echo ' service networking restart' >> $batman_script
|
||||
echo ' fi' >> $batman_script
|
||||
echo ' if [ -f /bin/systemctl ]; then' >> $babel_script
|
||||
echo ' systemctl restart networking' >> $babel_script
|
||||
echo ' else' >> $babel_script
|
||||
echo ' service networking restart' >> $babel_script
|
||||
echo ' fi' >> $babel_script
|
||||
echo ' exit 1' >> $babel_script
|
||||
echo 'fi' >> $babel_script
|
||||
echo '' >> $babel_script
|
||||
|
|
Loading…
Reference in New Issue