summaryrefslogtreecommitdiffstats
path: root/signal.c
AgeCommit message (Collapse)Author
2014-10-12Fix ctrl+alt+del supportMichel Stam
The previous patch did not catch SIGINT, which is used by the kernel to indicate to the init process that the system should reboot. Signed-off-by: Michel Stam <m.stam@fugro.nl>
2014-10-02make procd handle ctrl+alt+delJohn Crispin
Signed-off-by: John Crispin <blogic@openwrt.org>
2013-11-15debloat and reorganize codeJohn Crispin
split app into procd and init binaries remove log support, this is an external service now Signed-off-by: John Crispin <blogic@openwrt.org>
2013-07-03add 2 second sleep before rebootingJohn Crispin
stderr is lost without this whena crash happens Signed-off-by: John Crispin <blogic@openwrt.org>
2013-06-27get rid of sleep() callsJohn Crispin
Signed-off-by: John Crispin <blogic@openwrt.org>
2013-04-23ignore sigpipeJohn Crispin
Signed-off-by: John Crispin <blogic@openwrt.org>
2013-04-23make reboot work without -f in failsafeJohn Crispin
Singed-off-by: John Crispin <blogic@openwrt.org>
2013-03-13add signal handlerJohn Crispin