From ceab0f65e1c7fe9808e2a1b6be5e4ca1f76a949e Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Sat, 22 Aug 2015 09:45:38 +0100 Subject: [PATCH] Replace tabs with spaces --- src/freedombone | 2 +- src/freedombone-client | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/freedombone b/src/freedombone index 365d8bcd..2e050835 100755 --- a/src/freedombone +++ b/src/freedombone @@ -1753,7 +1753,7 @@ function configure_avahi { # this is a blatant hack, but I couldn't find a better way of mitigating the problem # of avahi-daemon stopping after a few minutes if ! grep -q "avahi-daemon" /etc/crontab; then - echo '* *\t* * *\troot\tsystemctl restart avahi-daemon > /dev/null' >> /etc/crontab + echo '* * * * * root systemctl restart avahi-daemon > /dev/null' >> /etc/crontab fi echo 'configure_avahi' >> $COMPLETION_FILE diff --git a/src/freedombone-client b/src/freedombone-client index e75c73e9..08cbe4e7 100755 --- a/src/freedombone-client +++ b/src/freedombone-client @@ -120,9 +120,9 @@ function mesh_babel { echo ' sed -i "s|host-name=.*|host-name=$(hostname)|g" /etc/avahi/avahi-daemon.conf' >> $babel_script echo ' if ! grep -q "avahi-daemon" /etc/crontab; then' >> $babel_script echo ' if [ -f /bin/systemctl ]; then' >> $babel_script - echo " echo '* *\t* * *\troot\tsystemctl restart avahi-daemon > /dev/null' >> /etc/crontab" >> $babel_script + echo " echo '* * * * * root systemctl restart avahi-daemon > /dev/null' >> /etc/crontab" >> $babel_script echo ' else' >> $babel_script - echo " echo '* *\t* * *\troot\tservice avahi-daemon restart > /dev/null' >> /etc/crontab" >> $babel_script + echo " echo '* * * * * root service avahi-daemon restart > /dev/null' >> /etc/crontab" >> $babel_script echo ' fi' >> $babel_script echo ' fi' >> $babel_script echo ' if [ -f /bin/systemctl ]; then' >> $babel_script