From 3db81bd1f1b2609aee84a6053de263fbfe9c5de6 Mon Sep 17 00:00:00 2001 From: jim-p Date: Tue, 6 Oct 2009 23:20:10 -0400 Subject: Fix enable check --- config/avahi/avahi.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'config/avahi') diff --git a/config/avahi/avahi.inc b/config/avahi/avahi.inc index a89b5da2..7c882789 100644 --- a/config/avahi/avahi.inc +++ b/config/avahi/avahi.inc @@ -176,7 +176,7 @@ function avahi_sync() { avahi_write_config(); // Is package enabled? - if (isset($config['installedpackages']['avahi']['config'][0]['enable']) + if (($config['installedpackages']['avahi']['config'][0]['enable']) && file_exists("/usr/local/etc/rc.d/avahi-daemon.sh")) { avahi_start(); } -- cgit v1.2.3