From 75b300a24b2214e822aa0a872f1fcb860ce70873 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Mon, 24 Aug 2015 20:20:59 +0100 Subject: [PATCH] Restart avahi daemon --- src/freedombone | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/freedombone b/src/freedombone index 489d4395..6518cae8 100755 --- a/src/freedombone +++ b/src/freedombone @@ -8196,6 +8196,8 @@ function tox_avahi { echo 'exit 0' >> /usr/bin/publish-to-avahi chmod +x /usr/bin/publish-to-avahi + systemctl restart avahi-daemon + # publish regularly if ! grep -Fxq "publish-to-avahi" /etc/crontab; then echo '* * * * * root /usr/bin/publish-to-avahi > /dev/null' >> /etc/crontab