ravenpl
asked on
Send ctrl-alt-del from application
What I want is
echo 1 > /proc/sys/kernel/ctrl-alt- del
send ctrl-alt-del to kernel, so it reboots immediatelly. But how?
Alternativelly, how to reboot machine immediatelly (no sync and stuff). shutdown -rn now fails here(becouse of failed and still mounted disk).
Assume sysrq is not working here...
echo 1 > /proc/sys/kernel/ctrl-alt-
send ctrl-alt-del to kernel, so it reboots immediatelly. But how?
Alternativelly, how to reboot machine immediatelly (no sync and stuff). shutdown -rn now fails here(becouse of failed and still mounted disk).
Assume sysrq is not working here...
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Splendid - thx.
I have no idea how far you got with shutdown -rn. You want to use
shutdown -rf
and you want to run this command as root.
Friedrich