aboutsummaryrefslogtreecommitdiffstats
path: root/packages/avahi
diff options
context:
space:
mode:
Diffstat (limited to 'packages/avahi')
-rw-r--r--packages/avahi/avahi.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/avahi/avahi.inc b/packages/avahi/avahi.inc
index ccbc2589..9d61bd0a 100644
--- a/packages/avahi/avahi.inc
+++ b/packages/avahi/avahi.inc
@@ -143,7 +143,7 @@ EOF;
fwrite($fd, $avahiconfig);
fclose($fd);
/* Write out rc.d startup file */
- $start = "/usr/local/sbin/avahi-daemon -D";
+ $start = "if [ ! -d /proc ]; then\n mount -t procfs procfs /proc\nfi\n/usr/local/sbin/avahi-daemon -D";
$stop = "/usr/bin/killall avahi-daemon";
write_rcfile(array(
"file" => "avahi-daemon.sh",