Replace tabs with spaces
This commit is contained in:
parent
5bdafef4e5
commit
ceab0f65e1
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue