Changeset 2893 in MondoRescue for branches/2.2.9/mindi
- Timestamp:
- Oct 18, 2011, 12:09:41 PM (12 years ago)
- Location:
- branches/2.2.9/mindi
- Files:
-
- 1 added
- 2 edited
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
branches/2.2.9/mindi/deplist.d/base.conf
r2750 r2893 55 55 /bin/date 56 56 /sbin/ctrlaltdel 57 /usr/bin/reboot58 /usr/bin/halt59 57 /bin/dd 60 58 /usr/bin/eject -
branches/2.2.9/mindi/deplist.d/minimal.conf
r2849 r2893 22 22 # On ArchLinux 23 23 /bin/pidof 24 /usr/bin/reboot25 #On Archlinux26 /sbin/reboot27 /sbin/shutdown28 24 /etc/init.d/functions 29 25 # On ArchLinux -
branches/2.2.9/mindi/rootfs/etc/init.d/rcS
r2892 r2893 9 9 CaughtSoftReset() { 10 10 trap SIGTERM 11 # Now kill all processes 12 LogIt "Killing all processes" 13 kill -TERM -1 14 sync 15 sleep 1 16 kill -KILL -1 17 sync 18 # Try to umount what we can again 19 LogIt "Unmounting filesystems" 20 umount -a -d -r 2> /dev/null 21 # now reboot hard 22 # This doesn't work nor does reboot 23 # ctrlaltdel hard & 24 # reboot -f 25 LogIt "Using SysRq to reboot" 26 echo s > /proc/sysrq-trigger 27 echo u > /proc/sysrq-trigger 28 echo b > /proc/sysrq-trigger 29 30 # if we reach that point that's odd 31 # That script should never end as the kernel crashes otherwise 32 while [ "1" == "1" ]; do 33 sleep 10 34 done 11 12 reboot 35 13 } 36 14
Note:
See TracChangeset
for help on using the changeset viewer.