Ferguson, Neale <[EMAIL PROTECTED]> writes: > What options do I have to change this behavior (a call to > sys_reboot with the correct parameters can cause halt or > power-off actions to be taken but are there more inventive > things I can do)?
If you send a SIGINT to the init process (e.g. "killproc(1, SIGINT, 1)"), , it will perform its "ctrlaltdel" action, which is "/sbin/shutdown -t3 -r now" on my Marist system. Likewise sending it a SIGPWR should force the "powerfail" action: /sbin/shutdown -f -h +2 "Power Failure; System Shutting Down". Ross Patterson Computer Associates
