diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2008-09-06 04:41:23 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2008-09-06 04:41:23 +0000 |
commit | 12bf92caccaf31686e9bbd0bcb84a44c6332c288 (patch) | |
tree | 1a90fcb4ebfd11d33e67b3b0bca1c5a6d3d08f5b /etc | |
parent | 9d847a1a375a319b202350c24665a965b2ac4ec6 (diff) | |
download | pfsense-12bf92caccaf31686e9bbd0bcb84a44c6332c288.zip pfsense-12bf92caccaf31686e9bbd0bcb84a44c6332c288.tar.gz |
Move unionfs commands earlier
Diffstat (limited to 'etc')
-rwxr-xr-x | etc/rc | 24 |
1 files changed, 12 insertions, 12 deletions
@@ -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 |