summaryrefslogtreecommitdiffstats
path: root/rescue/tree/etc/oem
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/tree/etc/oem
parent52a6cef1ee28a3ca772b2a1fe952375d86adaab3 (diff)
downloaddrakx-backup-do-not-use-9f4238729d33ad26776c8cbc5e052b0bb3bd5ad4.tar
drakx-backup-do-not-use-9f4238729d33ad26776c8cbc5e052b0bb3bd5ad4.tar.gz
drakx-backup-do-not-use-9f4238729d33ad26776c8cbc5e052b0bb3bd5ad4.tar.bz2
drakx-backup-do-not-use-9f4238729d33ad26776c8cbc5e052b0bb3bd5ad4.tar.xz
drakx-backup-do-not-use-9f4238729d33ad26776c8cbc5e052b0bb3bd5ad4.zip
umount before leaving, clean unneeded stuff in rc.reboot
Diffstat (limited to 'rescue/tree/etc/oem')
-rwxr-xr-xrescue/tree/etc/oem6
1 files changed, 3 insertions, 3 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