|
@@ -120,9 +120,9 @@ function mesh_babel {
|
120
|
120
|
echo ' sed -i "s|host-name=.*|host-name=$(hostname)|g" /etc/avahi/avahi-daemon.conf' >> $babel_script
|
121
|
121
|
echo ' if ! grep -q "avahi-daemon" /etc/crontab; then' >> $babel_script
|
122
|
122
|
echo ' if [ -f /bin/systemctl ]; then' >> $babel_script
|
123
|
|
- echo " echo '* *\t* * *\troot\tsystemctl restart avahi-daemon > /dev/null' >> /etc/crontab" >> $babel_script
|
|
123
|
+ echo " echo '* * * * * root systemctl restart avahi-daemon > /dev/null' >> /etc/crontab" >> $babel_script
|
124
|
124
|
echo ' else' >> $babel_script
|
125
|
|
- echo " echo '* *\t* * *\troot\tservice avahi-daemon restart > /dev/null' >> /etc/crontab" >> $babel_script
|
|
125
|
+ echo " echo '* * * * * root service avahi-daemon restart > /dev/null' >> /etc/crontab" >> $babel_script
|
126
|
126
|
echo ' fi' >> $babel_script
|
127
|
127
|
echo ' fi' >> $babel_script
|
128
|
128
|
echo ' if [ -f /bin/systemctl ]; then' >> $babel_script
|