|
@@ -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
|