This commit is contained in:
Bob Mottram 2015-08-07 23:22:21 +01:00
parent 4cbb4f74d7
commit ad2c37e52c
1 changed files with 5 additions and 5 deletions

View File

@ -101,11 +101,11 @@ function mesh_babel {
echo ' echo "Interface $IFACE was not found"' >> $babel_script
echo ' ifconfig $IFACE down' >> $babel_script
echo ' pkill babeld' >> $babel_script
echo ' if [ -f /bin/systemctl ]; then' >> $batman_script
echo ' systemctl restart networking' >> $batman_script
echo ' else' >> $batman_script
echo ' service networking restart' >> $batman_script
echo ' fi' >> $batman_script
echo ' if [ -f /bin/systemctl ]; then' >> $babel_script
echo ' systemctl restart networking' >> $babel_script
echo ' else' >> $babel_script
echo ' service networking restart' >> $babel_script
echo ' fi' >> $babel_script
echo ' exit 1' >> $babel_script
echo 'fi' >> $babel_script
echo '' >> $babel_script