summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2008-09-06 04:41:23 +0000
committerScott Ullrich <sullrich@pfsense.org>2008-09-06 04:41:23 +0000
commit12bf92caccaf31686e9bbd0bcb84a44c6332c288 (patch)
tree1a90fcb4ebfd11d33e67b3b0bca1c5a6d3d08f5b /etc
parent9d847a1a375a319b202350c24665a965b2ac4ec6 (diff)
downloadpfsense-12bf92caccaf31686e9bbd0bcb84a44c6332c288.zip
pfsense-12bf92caccaf31686e9bbd0bcb84a44c6332c288.tar.gz
Move unionfs commands earlier
Diffstat (limited to 'etc')
-rwxr-xr-xetc/rc24
1 files changed, 12 insertions, 12 deletions
diff --git a/etc/rc b/etc/rc
index dbf2243..99e03e1 100755
--- a/etc/rc
+++ b/etc/rc
@@ -84,6 +84,18 @@ else
fi
echo " done."
+if [ "$PLATFORM" = "cdrom" ] ; then
+ mkdir /tmp/unionfs
+ mkdir /tmp/unionfs/usr
+ mkdir /tmp/unionfs/root
+ echo -n "Mounting unionfs directories: "
+ echo -n "usr"
+ mount_unionfs /tmp/unionfs/usr /usr/
+ echo -n " root"
+ mount_unionfs /tmp/unionfs/root /root/
+ echo "done."
+fi
+
echo -n "Creating symlinks..."
# Make sure symlink is correct on embedded
if [ "$PLATFORM" = "embedded" ] ; then
@@ -120,18 +132,6 @@ fi
# Make sure our /tmp is 777
chmod 1777 /tmp
-if [ "$PLATFORM" = "cdrom" ] ; then
- mkdir /tmp/unionfs
- mkdir /tmp/unionfs/usr
- mkdir /tmp/unionfs/root
- echo -n "Mounting unionfs directories: "
- echo -n "usr"
- mount_unionfs /tmp/unionfs/usr /usr/
- echo -n " root"
- mount_unionfs /tmp/unionfs/root /root/
- echo "done."
-fi
-
if [ ! "$PLATFORM" = "cdrom" ] ; then
# Malloc debugging check
if [ -L /etc/malloc.conf ]; then
OpenPOWER on IntegriCloud