Bob Mottram 10 years ago
parent
commit
ad2c37e52c
1 changed files with 5 additions and 5 deletions
  1. 5
    5
      src/freedombone-client

+ 5
- 5
src/freedombone-client View File

101
   echo '    echo "Interface $IFACE was not found"' >> $babel_script
101
   echo '    echo "Interface $IFACE was not found"' >> $babel_script
102
   echo '    ifconfig $IFACE down' >> $babel_script
102
   echo '    ifconfig $IFACE down' >> $babel_script
103
   echo '    pkill babeld' >> $babel_script
103
   echo '    pkill babeld' >> $babel_script
104
-  echo '    if [ -f /bin/systemctl ]; then' >> $batman_script
105
-  echo '        systemctl restart networking' >> $batman_script
106
-  echo '    else' >> $batman_script
107
-  echo '        service networking restart' >> $batman_script
108
-  echo '    fi' >> $batman_script
104
+  echo '    if [ -f /bin/systemctl ]; then' >> $babel_script
105
+  echo '        systemctl restart networking' >> $babel_script
106
+  echo '    else' >> $babel_script
107
+  echo '        service networking restart' >> $babel_script
108
+  echo '    fi' >> $babel_script
109
   echo '    exit 1' >> $babel_script
109
   echo '    exit 1' >> $babel_script
110
   echo 'fi' >> $babel_script
110
   echo 'fi' >> $babel_script
111
   echo '' >> $babel_script
111
   echo '' >> $babel_script