浏览代码

Include username

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

+ 2
- 2
src/freedombone 查看文件

8167
       exit 58432
8167
       exit 58432
8168
   fi
8168
   fi
8169
   make install
8169
   make install
8170
-  
8170
+
8171
   toxavahi
8171
   toxavahi
8172
 
8172
 
8173
   # publish regularly
8173
   # publish regularly
8174
   if ! grep -Fxq "toxavahi" /etc/crontab; then
8174
   if ! grep -Fxq "toxavahi" /etc/crontab; then
8175
-      echo '* *       * * *   root    toxavahi > /dev/null' >> /etc/crontab
8175
+      echo "* *       * * *   root    toxavahi $MY_USERNAME > /dev/null" >> /etc/crontab
8176
   fi
8176
   fi
8177
 
8177
 
8178
   systemctl restart avahi-daemon
8178
   systemctl restart avahi-daemon