aboutsummaryrefslogtreecommitdiffstats
path: root/config/avahi
diff options
context:
space:
mode:
authorjim-p <jim@pingle.org>2009-10-06 23:20:10 -0400
committerjim-p <jim@pingle.org>2009-10-06 23:20:10 -0400
commit3db81bd1f1b2609aee84a6053de263fbfe9c5de6 (patch)
treeb58da6870540ee2923ee10b61154b1655f5d7fc2 /config/avahi
parent95295ac86170e99aa559ef59ab5d23baff68f12e (diff)
downloadpfsense-packages-3db81bd1f1b2609aee84a6053de263fbfe9c5de6.tar.gz
pfsense-packages-3db81bd1f1b2609aee84a6053de263fbfe9c5de6.tar.bz2
pfsense-packages-3db81bd1f1b2609aee84a6053de263fbfe9c5de6.zip
Fix enable check
Diffstat (limited to 'config/avahi')
-rw-r--r--config/avahi/avahi.inc2
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();
}