summaryrefslogtreecommitdiffstats
path: root/etc/rc
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2010-05-22 16:30:05 -0400
committerScott Ullrich <sullrich@pfsense.org>2010-05-22 16:30:05 -0400
commit0fd819189920c3227a73450c91d9deaf46640ca2 (patch)
tree6966aa01f73d736794bbb790ee1b34e2edb79a3c /etc/rc
parent22af75a3af0b55904f45e6ea001c5b05fa09291a (diff)
downloadpfsense-0fd819189920c3227a73450c91d9deaf46640ca2.zip
pfsense-0fd819189920c3227a73450c91d9deaf46640ca2.tar.gz
Use unionfs for /
Diffstat (limited to 'etc/rc')
-rwxr-xr-xetc/rc3
1 files changed, 3 insertions, 0 deletions
diff --git a/etc/rc b/etc/rc
index 97ceee5..3d2ad5b 100755
--- a/etc/rc
+++ b/etc/rc
@@ -112,6 +112,7 @@ if [ "$PLATFORM" = "cdrom" ] ; then
mkdir /tmp/unionfs/bin
mkdir /tmp/unionfs/boot
mkdir /tmp/unionfs/confdefault
+ mkdir /tmp/unionfs/diskroot
echo -n "Mounting unionfs directories:"
echo -n " usr"
mount_unionfs /tmp/unionfs/usr /usr/
@@ -125,6 +126,8 @@ if [ "$PLATFORM" = "cdrom" ] ; then
mount_unionfs /tmp/unionfs/boot /boot/
echo -n " conf.default"
mount_unionfs /tmp/unionfs/confdefault /conf.default/
+ echo -n " /"
+ mount_unionfs /tmp/unionfs/diskroot /
echo "... done."
fi
OpenPOWER on IntegriCloud