summaryrefslogtreecommitdiffstats
path: root/etc/rc
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2008-09-06 22:36:01 +0000
committerScott Ullrich <sullrich@pfsense.org>2008-09-06 22:36:01 +0000
commitd948c0d40c63a6a618ac606ecdb68d083c343ddd (patch)
tree7d90dac10c2b521eead71ba4618847aa059adfa6 /etc/rc
parent968453a37e7b865eb1beb25b8af75b6371a342ad (diff)
downloadpfsense-d948c0d40c63a6a618ac606ecdb68d083c343ddd.zip
pfsense-d948c0d40c63a6a618ac606ecdb68d083c343ddd.tar.gz
Allow bin sbin and boot writing
Diffstat (limited to 'etc/rc')
-rwxr-xr-xetc/rc11
1 files changed, 10 insertions, 1 deletions
diff --git a/etc/rc b/etc/rc
index b066ded..eabe718 100755
--- a/etc/rc
+++ b/etc/rc
@@ -88,11 +88,20 @@ if [ "$PLATFORM" = "cdrom" ] ; then
mkdir /tmp/unionfs
mkdir /tmp/unionfs/usr
mkdir /tmp/unionfs/root
+ mkdir /tmp/unionfs/sbin
+ mkdir /tmp/unionfs/bin
+ mkdir /tmp/unionfs/boot
echo -n "Mounting unionfs directories:"
echo -n " usr"
mount_unionfs /tmp/unionfs/usr /usr/
echo -n " root"
- mount_unionfs /tmp/unionfs/root /root/
+ mount_unionfs /tmp/unionfs/root /root/
+ echo -n " bin"
+ mount_unionfs /tmp/unionfs/bin /bin/
+ echo -n " sbin"
+ mount_unionfs /tmp/unionfs/sbin /sbin/
+ echo -n " boot"
+ mount_unionfs /tmp/unionfs/boot /boot/
echo "... done."
fi
OpenPOWER on IntegriCloud