|
@@ -209,9 +209,9 @@ function mesh_batman {
|
209
|
209
|
echo ' sed -i "s|hosts:.*|hosts: files mdns4_minimal dns mdns4 mdns|g" /etc/nsswitch.conf' >> $batman_script
|
210
|
210
|
echo ' if ! grep -q "avahi-daemon" /etc/crontab; then' >> $batman_script
|
211
|
211
|
echo ' if [ -f /bin/systemctl ]; then' >> $batman_script
|
212
|
|
- echo " echo '* *\t* * *\troot\tsystemctl restart avahi-daemon > /dev/null' >> /etc/crontab" >> $batman_script
|
|
212
|
+ echo " echo '* * * * * root systemctl restart avahi-daemon > /dev/null' >> /etc/crontab" >> $batman_script
|
213
|
213
|
echo ' else' >> $batman_script
|
214
|
|
- echo " echo '* *\t* * *\troot\tservice avahi-daemon restart > /dev/null' >> /etc/crontab" >> $batman_script
|
|
214
|
+ echo " echo '* * * * * root service avahi-daemon restart > /dev/null' >> /etc/crontab" >> $batman_script
|
215
|
215
|
echo ' fi' >> $batman_script
|
216
|
216
|
echo ' fi' >> $batman_script
|
217
|
217
|
echo 'fi' >> $batman_script
|