diff --git a/etc/rc.d/rc.avahidaemon b/etc/rc.d/rc.avahidaemon index 33195164fc..70cc82b9e0 100755 --- a/etc/rc.d/rc.avahidaemon +++ b/etc/rc.d/rc.avahidaemon @@ -120,9 +120,13 @@ avahid_reload(){ } avahid_update(){ - if avahid_running && check && [[ "$(this allow-interfaces)" != "$BIND" ]]; then - log "Updating $DAEMON..." - avahid_restart # note we need restart here, not reload in order to update interfaces + if check && [[ "$(this allow-interfaces)" != "$BIND" ]]; then + if avahid_running; then + log "Updating $DAEMON..." + avahid_restart # note we need restart here, not reload in order to update interfaces + else + avahid_start # handle case where avahi-daemon exited because no suitable interfaces + fi fi }