summaryrefslogtreecommitdiffstats
path: root/rescue/tree/etc/rc.sysinit
diff options
context:
space:
mode:
Diffstat (limited to 'rescue/tree/etc/rc.sysinit')
-rwxr-xr-xrescue/tree/etc/rc.sysinit6
1 files changed, 3 insertions, 3 deletions
diff --git a/rescue/tree/etc/rc.sysinit b/rescue/tree/etc/rc.sysinit
index 766163be0..0f9d6b3c1 100755
--- a/rescue/tree/etc/rc.sysinit
+++ b/rescue/tree/etc/rc.sysinit
@@ -8,9 +8,6 @@ echo -e "\t\t\tWelcome to \\033[1;36mMandrake\\033[0;39m Linux"
action "Remounting root filesystem in read-write mode" mount -n -o remount,rw /
-#- free up stage1 memory
-umount /stage1/proc/bus/usb /stage1/proc /stage1
-
ln -s /tmp/stage2/etc/* /etc 2>/dev/null
mkdir /proc
@@ -20,6 +17,9 @@ action "Mounting proc filesystem" mount -n -t proc /proc /proc
mount -f /
mount -f /proc
+#- free up stage1 memory
+umount /stage1/proc/bus/usb /stage1/proc /stage1
+
# Set the hostname.
action "Setting hostname rescue" hostname rescue
echo rescue > /etc/HOSTNAME