From dd6eacb2b921cb7d549748f85bd9c014b233ae4e Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Fri, 5 Nov 2004 15:38:40 +0000 Subject: umount /stage1 when /etc/mtab exists to remove a warning --- rescue/tree/etc/rc.sysinit | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'rescue') 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 -- cgit v1.2.1