Bob Mottram 9 vuotta sitten
vanhempi
commit
9dfbcea165
1 muutettua tiedostoa jossa 5 lisäystä ja 5 poistoa
  1. 5
    5
      src/freedombone-client

+ 5
- 5
src/freedombone-client Näytä tiedosto

@@ -109,11 +109,11 @@ function mesh_babel {
109 109
   echo '    exit 1' >> $babel_script
110 110
   echo 'fi' >> $babel_script
111 111
   echo '' >> $babel_script
112
-  echo 'if [ -f /bin/systemctl ]; then' >> $batman_script
113
-  echo '    systemctl stop networking' >> $batman_script
114
-  echo 'else' >> $batman_script
115
-  echo '    service networking stop' >> $batman_script
116
-  echo 'fi' >> $batman_script
112
+  echo 'if [ -f /bin/systemctl ]; then' >> $babel_script
113
+  echo '    systemctl stop networking' >> $babel_script
114
+  echo 'else' >> $babel_script
115
+  echo '    service networking stop' >> $babel_script
116
+  echo 'fi' >> $babel_script
117 117
   echo 'ifconfig $IFACE down' >> $babel_script
118 118
   echo -n 'iwconfig $IFACE mode ad-hoc channel ' >> $babel_script
119 119
   echo "$WIFI_CHANNEL essid \"$ESSID\"" >> $babel_script