Bob Mottram 10 年之前
父節點
當前提交
ad2c37e52c
共有 1 個文件被更改,包括 5 次插入5 次删除
  1. 5
    5
      src/freedombone-client

+ 5
- 5
src/freedombone-client 查看文件

@@ -101,11 +101,11 @@ function mesh_babel {
101 101
   echo '    echo "Interface $IFACE was not found"' >> $babel_script
102 102
   echo '    ifconfig $IFACE down' >> $babel_script
103 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 109
   echo '    exit 1' >> $babel_script
110 110
   echo 'fi' >> $babel_script
111 111
   echo '' >> $babel_script