Quellcode durchsuchen

Restart avahi daemon

Bob Mottram vor 9 Jahren
Ursprung
Commit
75b300a24b
1 geänderte Dateien mit 2 neuen und 0 gelöschten Zeilen
  1. 2
    0
      src/freedombone

+ 2
- 0
src/freedombone Datei anzeigen

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