diff options
author | jim-p <jim@pingle.org> | 2009-10-06 23:20:10 -0400 |
---|---|---|
committer | jim-p <jim@pingle.org> | 2009-10-06 23:20:10 -0400 |
commit | 3db81bd1f1b2609aee84a6053de263fbfe9c5de6 (patch) | |
tree | b58da6870540ee2923ee10b61154b1655f5d7fc2 | |
parent | 95295ac86170e99aa559ef59ab5d23baff68f12e (diff) | |
download | pfsense-packages-3db81bd1f1b2609aee84a6053de263fbfe9c5de6.tar.gz pfsense-packages-3db81bd1f1b2609aee84a6053de263fbfe9c5de6.tar.bz2 pfsense-packages-3db81bd1f1b2609aee84a6053de263fbfe9c5de6.zip |
Fix enable check
-rw-r--r-- | config/avahi/avahi.inc | 2 |
1 files changed, 1 insertions, 1 deletions
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(); } |