summaryrefslogtreecommitdiffstats
path: root/rescue/tree/etc
diff options
context:
space:
mode:
Diffstat (limited to 'rescue/tree/etc')
-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