diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2009-01-25 00:20:40 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2009-01-25 00:20:40 +0000 |
commit | 1fd97e848926eec45aad512ad0159ccc7702cd75 (patch) | |
tree | 500133fb55661871d2e42016c57421fb6d7513f4 /packages/avahi | |
parent | e00f72b48a47c24835d12a57c8bbb2078e054389 (diff) | |
download | pfsense-packages-1fd97e848926eec45aad512ad0159ccc7702cd75.tar.gz pfsense-packages-1fd97e848926eec45aad512ad0159ccc7702cd75.tar.bz2 pfsense-packages-1fd97e848926eec45aad512ad0159ccc7702cd75.zip |
Mount procfs when needed
Diffstat (limited to 'packages/avahi')
-rw-r--r-- | packages/avahi/avahi.inc | 2 |
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", |