Ver código fonte

Restart avahi daemon

Bob Mottram 9 anos atrás
pai
commit
75b300a24b
1 arquivos alterados com 2 adições e 0 exclusões
  1. 2
    0
      src/freedombone

+ 2
- 0
src/freedombone Ver arquivo

@@ -8196,6 +8196,8 @@ function tox_avahi {
8196 8196
   echo 'exit 0' >> /usr/bin/publish-to-avahi
8197 8197
   chmod +x /usr/bin/publish-to-avahi
8198 8198
 
8199
+  systemctl restart avahi-daemon
8200
+
8199 8201
   # publish regularly
8200 8202
   if ! grep -Fxq "publish-to-avahi" /etc/crontab; then
8201 8203
       echo '* *       * * *   root    /usr/bin/publish-to-avahi > /dev/null' >> /etc/crontab