summaryrefslogtreecommitdiffstats
path: root/rescue
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2000-11-15 14:37:28 +0000
committerPascal Rigaux <pixel@mandriva.com>2000-11-15 14:37:28 +0000
commit9f4238729d33ad26776c8cbc5e052b0bb3bd5ad4 (patch)
treec76fdd18dafa49b5c9e4ce9b4a668ce0760b237d /rescue
parent52a6cef1ee28a3ca772b2a1fe952375d86adaab3 (diff)
downloaddrakx-9f4238729d33ad26776c8cbc5e052b0bb3bd5ad4.tar
drakx-9f4238729d33ad26776c8cbc5e052b0bb3bd5ad4.tar.gz
drakx-9f4238729d33ad26776c8cbc5e052b0bb3bd5ad4.tar.bz2
drakx-9f4238729d33ad26776c8cbc5e052b0bb3bd5ad4.tar.xz
drakx-9f4238729d33ad26776c8cbc5e052b0bb3bd5ad4.zip
umount before leaving, clean unneeded stuff in rc.reboot
Diffstat (limited to 'rescue')
-rwxr-xr-xrescue/tree/etc/oem6
-rwxr-xr-xrescue/tree/etc/rc.reboot1
2 files changed, 3 insertions, 4 deletions
diff --git a/rescue/tree/etc/oem b/rescue/tree/etc/oem
index f30c9a433..09bc80b97 100755
--- a/rescue/tree/etc/oem
+++ b/rescue/tree/etc/oem
@@ -78,12 +78,12 @@ for i in `/etc/closurepkgs /hd/Mandrake/base/depslist.ordered /hd/Mandrake/base/
[ -e /cdrom/Mandrake/RPMS/$i.*.rpm ] && rpm --root /mnt -ivh /cdrom/Mandrake/RPMS/$i.*.rpm --nodeps --force
done
umount /mnt/proc
-umount /cdrom
+umount -a -f -t noproc
eject $cd
echo
echo "Done. OEM hard drive ready!"
echo "The hard drive is now ready for a customer."
-echo "Press enter to halt."
-read
+echo "System is now halted."
+echo
halt
diff --git a/rescue/tree/etc/rc.reboot b/rescue/tree/etc/rc.reboot
index 79318f1f7..0b67416f1 100755
--- a/rescue/tree/etc/rc.reboot
+++ b/rescue/tree/etc/rc.reboot
@@ -4,6 +4,5 @@ sleep 1
/sbin/killall5 -9
umount -a -f -t noproc
-mount -n -o remount,ro /
reboot -i -d