Changeset 1612 in MondoRescue for branches/2.2.5/mindi/rootfs/sbin/init
- Timestamp:
- Sep 2, 2007, 2:45:09 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.2.5/mindi/rootfs/sbin/init
r1610 r1612 573 573 LogIt "I think this CD/floppy has no archives on it." 574 574 fi 575 echo -en "Type 'exit' to reboot the PC\n" 576 umount /mnt/cdrom 2> /dev/null 577 mount / -o rw,remount > /dev/null 2> /dev/null 578 LogIt "Launching Shell" 579 sh 575 if grep "RESTORE" /proc/cmdline > /dev/null 2> /dev/null ; then 576 echo "Rebooting in 10 seconds automatically as per reboot order" 577 echo -en "Press ^C to interrupt if you have to ..." 578 for i in 1 2 3 4 5 6 7 8 9 10 ; do 579 sleep 1 580 echo -en "." 581 done 582 echo "Boom." 583 sleep 1 584 else 585 echo -en "Type 'exit' to reboot the PC\n" 586 umount /mnt/cdrom 2> /dev/null 587 mount / -o rw,remount > /dev/null 2> /dev/null 588 LogIt "Launching Shell" 589 sh 590 fi 580 591 CaughtSoftReset 581 592 # reboot
Note:
See TracChangeset
for help on using the changeset viewer.