|
@@ -104,7 +104,7 @@ function mesh_babel {
|
104
|
104
|
echo ' if [ -f /bin/systemctl ]; then' >> $babel_script
|
105
|
105
|
echo ' systemctl restart networking' >> $babel_script
|
106
|
106
|
echo ' else' >> $babel_script
|
107
|
|
- echo ' service networking restart' >> $babel_script
|
|
107
|
+ echo ' service network-manager restart' >> $babel_script
|
108
|
108
|
echo ' fi' >> $babel_script
|
109
|
109
|
echo ' exit 1' >> $babel_script
|
110
|
110
|
echo 'fi' >> $babel_script
|
|
@@ -112,7 +112,7 @@ function mesh_babel {
|
112
|
112
|
echo 'if [ -f /bin/systemctl ]; then' >> $babel_script
|
113
|
113
|
echo ' systemctl stop networking' >> $babel_script
|
114
|
114
|
echo 'else' >> $babel_script
|
115
|
|
- echo ' service networking stop' >> $babel_script
|
|
115
|
+ echo ' service network-manager stop' >> $babel_script
|
116
|
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
|
|
@@ -166,7 +166,7 @@ function mesh_batman {
|
166
|
166
|
echo ' if [ -f /bin/systemctl ]; then' >> $batman_script
|
167
|
167
|
echo ' systemctl stop networking' >> $batman_script
|
168
|
168
|
echo ' else' >> $batman_script
|
169
|
|
- echo ' service networking stop' >> $batman_script
|
|
169
|
+ echo ' service network-manager stop' >> $batman_script
|
170
|
170
|
echo ' fi' >> $batman_script
|
171
|
171
|
echo ' sleep 5' >> $batman_script
|
172
|
172
|
echo '' >> $batman_script
|
|
@@ -229,7 +229,7 @@ function mesh_batman {
|
229
|
229
|
echo ' if [ -f /bin/systemctl ]; then' >> $batman_script
|
230
|
230
|
echo ' systemctl restart networking' >> $batman_script
|
231
|
231
|
echo ' else' >> $batman_script
|
232
|
|
- echo ' service networking restart' >> $batman_script
|
|
232
|
+ echo ' service network-manager restart' >> $batman_script
|
233
|
233
|
echo ' fi' >> $batman_script
|
234
|
234
|
echo '}' >> $batman_script
|
235
|
235
|
echo '' >> $batman_script
|