From 2fa07104b9afa62ccf2a9151a99fd0da58239306 Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Thu, 9 Nov 2000 16:17:11 +0000 Subject: umount and eject the cdrom before leaving halt instead of reboot --- rescue/tree/etc/oem | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'rescue/tree/etc') diff --git a/rescue/tree/etc/oem b/rescue/tree/etc/oem index 2b410a4b3..bfc0c97e9 100755 --- a/rescue/tree/etc/oem +++ b/rescue/tree/etc/oem @@ -76,9 +76,11 @@ 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 +eject echo echo "Done. OEM hard drive ready!" -echo "Press enter to reboot" +echo "Press enter to halt" read -reboot +halt -- cgit v1.2.1