pepa65 / deadman

Deadman is linux kernel module deadman-switch that responds to removal of a specific USB device (or the insertion of any).

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Shutdown not instant

pepa65 opened this issue · comments

The currently used method of killing the running machine is not instant:
subsys_initcall(pm_sysrq_init)

It must be possible to do an instant shutdown, like when the magic SysRq o
How to call this from within C?

Using the magic now.