1 2 3 4 5
# panicshutdown a minimal utility for an almost instant safe-ish shutdown writes 's', 'u', and 'o' to /proc/sysrq-trigger must be run as root, feel free to use setuid