commit | 92f3b785690f5c23e1b84b6e726d7859d0ab1608 | [log] [tgz] |
---|---|---|
author | Isaac Dunham <ibid.ag@gmail.com> | Thu Aug 20 11:49:16 2015 -0500 |
committer | Rob Landley <rob@landley.net> | Thu Aug 20 11:49:16 2015 -0500 |
tree | 327dc8a73c8e58c1356d320bc4081b66491f2dab | |
parent | 4e49e2cca731f2e1dd01ebc5163beb71e0d640ec [diff] |
I discovered that the reason SIGINT causes a reboot on sysvinit is that it's how the kernel signals that ctrl-alt-delete has been pressed; thus, setting it as the signal for reboot prevents ctrlaltdel scripts from working. SIGTERM is what Busybox uses, so we might as well be compatible.