diff --git a/src/freedombone-client b/src/freedombone-client index d8ee35d0..9383f441 100755 --- a/src/freedombone-client +++ b/src/freedombone-client @@ -104,7 +104,7 @@ function mesh_babel { 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 ' service network-manager restart' >> $babel_script echo ' fi' >> $babel_script echo ' exit 1' >> $babel_script echo 'fi' >> $babel_script @@ -112,7 +112,7 @@ function mesh_babel { echo 'if [ -f /bin/systemctl ]; then' >> $babel_script echo ' systemctl stop networking' >> $babel_script echo 'else' >> $babel_script - echo ' service networking stop' >> $babel_script + echo ' service network-manager stop' >> $babel_script echo 'fi' >> $babel_script echo 'ifconfig $IFACE down' >> $babel_script echo -n 'iwconfig $IFACE mode ad-hoc channel ' >> $babel_script @@ -166,7 +166,7 @@ function mesh_batman { echo ' if [ -f /bin/systemctl ]; then' >> $batman_script echo ' systemctl stop networking' >> $batman_script echo ' else' >> $batman_script - echo ' service networking stop' >> $batman_script + echo ' service network-manager stop' >> $batman_script echo ' fi' >> $batman_script echo ' sleep 5' >> $batman_script echo '' >> $batman_script @@ -229,7 +229,7 @@ function mesh_batman { 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 ' service network-manager restart' >> $batman_script echo ' fi' >> $batman_script echo '}' >> $batman_script echo '' >> $batman_script