diff --git a/src/freedombone-client b/src/freedombone-client index fb4dd4d5..0a32d16f 100755 --- a/src/freedombone-client +++ b/src/freedombone-client @@ -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