summaryrefslogtreecommitdiffstats
path: root/rescue/tree/etc/oem
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2000-11-09 16:17:11 +0000
committerPascal Rigaux <pixel@mandriva.com>2000-11-09 16:17:11 +0000
commit2fa07104b9afa62ccf2a9151a99fd0da58239306 (patch)
tree957b18dabbcbeb2622f456dd1429f15be7c30ee0 /rescue/tree/etc/oem
parent23c7d3cd00f963d39d8884d3b92cabb57ff7f623 (diff)
downloaddrakx-2fa07104b9afa62ccf2a9151a99fd0da58239306.tar
drakx-2fa07104b9afa62ccf2a9151a99fd0da58239306.tar.gz
drakx-2fa07104b9afa62ccf2a9151a99fd0da58239306.tar.bz2
drakx-2fa07104b9afa62ccf2a9151a99fd0da58239306.tar.xz
drakx-2fa07104b9afa62ccf2a9151a99fd0da58239306.zip
umount and eject the cdrom before leaving
halt instead of reboot
Diffstat (limited to 'rescue/tree/etc/oem')
-rwxr-xr-xrescue/tree/etc/oem6
1 files changed, 4 insertions, 2 deletions
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