From ad2c37e52c584ca5099fb381cc293a9565922926 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Fri, 7 Aug 2015 23:22:21 +0100 Subject: [PATCH] babel --- src/freedombone-client | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/freedombone-client b/src/freedombone-client index fb4dd4d5..0a32d16f 100755 --- a/src/freedombone-client +++ b/src/freedombone-client @@ -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