aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--packages/avahi/avahi.inc4
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";