From 12bf92caccaf31686e9bbd0bcb84a44c6332c288 Mon Sep 17 00:00:00 2001 From: Scott Ullrich Date: Sat, 6 Sep 2008 04:41:23 +0000 Subject: Move unionfs commands earlier --- etc/rc | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) (limited to 'etc/rc') 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 -- cgit v1.1