aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2009-01-25 00:20:40 +0000
committerScott Ullrich <sullrich@pfsense.org>2009-01-25 00:20:40 +0000
commit1fd97e848926eec45aad512ad0159ccc7702cd75 (patch)
tree500133fb55661871d2e42016c57421fb6d7513f4
parente00f72b48a47c24835d12a57c8bbb2078e054389 (diff)
downloadpfsense-packages-1fd97e848926eec45aad512ad0159ccc7702cd75.tar.gz
pfsense-packages-1fd97e848926eec45aad512ad0159ccc7702cd75.tar.bz2
pfsense-packages-1fd97e848926eec45aad512ad0159ccc7702cd75.zip
Mount procfs when needed
-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",