浏览代码

Replace tabs

Bob Mottram 9 年前
父节点
当前提交
3488d2cd6d
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2
    2
      src/freedombone-client

+ 2
- 2
src/freedombone-client 查看文件

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