Replace tabs with spaces

This commit is contained in:
Bob Mottram 2015-08-22 09:45:38 +01:00
parent 5bdafef4e5
commit ceab0f65e1
2 changed files with 3 additions and 3 deletions

View File

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

View File

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