summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2004-11-05 15:38:40 +0000
committerPascal Rigaux <pixel@mandriva.com>2004-11-05 15:38:40 +0000
commitdd6eacb2b921cb7d549748f85bd9c014b233ae4e (patch)
treea81a7565bb95b46bdb53d874809fdde715d887a8
parent10994bc3602a73f8a3680c5e4fd97ab3639500d3 (diff)
downloaddrakx-backup-do-not-use-dd6eacb2b921cb7d549748f85bd9c014b233ae4e.tar
drakx-backup-do-not-use-dd6eacb2b921cb7d549748f85bd9c014b233ae4e.tar.gz
drakx-backup-do-not-use-dd6eacb2b921cb7d549748f85bd9c014b233ae4e.tar.bz2
drakx-backup-do-not-use-dd6eacb2b921cb7d549748f85bd9c014b233ae4e.tar.xz
drakx-backup-do-not-use-dd6eacb2b921cb7d549748f85bd9c014b233ae4e.zip
umount /stage1 when /etc/mtab exists to remove a warning
-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