Skip to content

Commit

Permalink
fruit-config: restart avahi-daemon if only avahi is installed
Browse files Browse the repository at this point in the history
  • Loading branch information
herry13 committed Jun 30, 2018
1 parent a356bed commit efbf8ac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fruit-config.in
Original file line number Diff line number Diff line change
Expand Up @@ -350,7 +350,7 @@ setup_docker() {
}

setup_avahi_service() {
[ "$(status avahi-daemon)" != "started" ] \
[ -f /etc/init.d/avahi-daemon ] && [ "$(status avahi-daemon)" != "started" ] \
&& rc-service avahi-daemon restart \
|| true
return $?
Expand Down

0 comments on commit efbf8ac

Please sign in to comment.