aboutsummaryrefslogtreecommitdiffstats
path: root/packages
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2009-01-25 01:50:09 +0000
committerScott Ullrich <sullrich@pfsense.org>2009-01-25 01:50:09 +0000
commit674e2985ba7f2dbd8b91f7d231e9c29c8b216f1f (patch)
tree53171ca098e5c13c92adf09e37c4b0c2066ab886 /packages
parent6b4a26a1c0037a621a2c8dd3b391fce6ba89deae (diff)
downloadpfsense-packages-674e2985ba7f2dbd8b91f7d231e9c29c8b216f1f.tar.gz
pfsense-packages-674e2985ba7f2dbd8b91f7d231e9c29c8b216f1f.tar.bz2
pfsense-packages-674e2985ba7f2dbd8b91f7d231e9c29c8b216f1f.zip
Make sure /proc exists
Diffstat (limited to 'packages')
-rw-r--r--packages/avahi/avahi.inc1
1 files changed, 1 insertions, 0 deletions
diff --git a/packages/avahi/avahi.inc b/packages/avahi/avahi.inc
index 564b129a..e7734af0 100644
--- a/packages/avahi/avahi.inc
+++ b/packages/avahi/avahi.inc
@@ -144,6 +144,7 @@ EOF;
fclose($fd);
/* Write out rc.d startup file */
$start = "if [ ! -d /proc/0 ]; then\n";
+ $start .= " mkdir -t /proc\n";
$start .= " mount -t procfs procfs /proc\n";
$start .= "fi\n";
$start .= "/usr/local/sbin/avahi-daemon -D\n";