summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2008-09-06 04:00:12 +0000
committerScott Ullrich <sullrich@pfsense.org>2008-09-06 04:00:12 +0000
commitc75c3809e1f3106b54573959d46719288fb4023c (patch)
treec5f10cf7559b852de7b27da66613a69a5743f071 /etc
parent91663045080c56f34d88cc19390b6c3911ac046e (diff)
downloadpfsense-c75c3809e1f3106b54573959d46719288fb4023c.zip
pfsense-c75c3809e1f3106b54573959d46719288fb4023c.tar.gz
Mount /usr/ with write access using UNIONFS.
Diffstat (limited to 'etc')
-rwxr-xr-xetc/rc8
1 files changed, 8 insertions, 0 deletions
diff --git a/etc/rc b/etc/rc
index a07d01b..fabc4f4 100755
--- a/etc/rc
+++ b/etc/rc
@@ -352,6 +352,14 @@ minicron 240 /var/run/ping_hosts.pid /usr/local/bin/ping_hosts.sh
chmod a+rw /tmp/.
+if [ ! "$PLATFORM" = "cdrom" ] ; then
+ mkdir /tmp/unionfs
+ mkdir /tmp/unionfs/usr
+ echo -n "Mounting /usr/ read/write..."
+ mount_unionfs /tmp/unionfs/usr /usr/
+ echo "done."
+fi
+
echo "Bootup complete"
/usr/local/bin/beep.sh start 2>&1 >/dev/null
OpenPOWER on IntegriCloud