diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2009-01-24 22:55:16 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2009-01-24 22:55:16 +0000 |
commit | 331e329d71757004817068efffdd9df35e06ea8d (patch) | |
tree | 74cffa628049766132d2a7e87fab00af92db45e7 /packages/avahi/avahi.inc | |
parent | f7d51a69fcf8c295122dc17cabf515caa475ff5f (diff) | |
download | pfsense-packages-331e329d71757004817068efffdd9df35e06ea8d.tar.gz pfsense-packages-331e329d71757004817068efffdd9df35e06ea8d.tar.bz2 pfsense-packages-331e329d71757004817068efffdd9df35e06ea8d.zip |
Do not clobber $config, mmmmkay.
Diffstat (limited to 'packages/avahi/avahi.inc')
-rw-r--r-- | packages/avahi/avahi.inc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/avahi/avahi.inc b/packages/avahi/avahi.inc index 2a82fcd4..a9e1038b 100644 --- a/packages/avahi/avahi.inc +++ b/packages/avahi/avahi.inc @@ -67,7 +67,7 @@ function setup_avahi() { $browsedomains = "local, 0pointer.de, zeroconf.org"; // Construct the avahi configuration - $config = <<<EOF + $avahiconfig = <<<EOF # avahi.conf - This file was automatically generated by the pfSense pacakge # manager. Do not edit this file, it will be overwritten automatically. @@ -121,7 +121,7 @@ EOF; /* Write out .conf file */ safe_mkdir("/usr/local/etc/avahi"); $fd = fopen("/usr/local/etc/avahi/avahi-daemon.conf", "w"); - fwrite($fd, $config); + fwrite($fd, $avahiconfig); fclose($fd); /* Write out rc.d startup file */ $start = "/usr/local/sbin/avahi-daemon"; |