diff options
author | Isaac Dunham <ibid.ag@gmail.com> | 2015-08-05 21:33:43 -0500 |
---|---|---|
committer | Rob Landley <rob@landley.net> | 2015-08-05 21:33:43 -0500 |
commit | a12eec740dc6d0c533fb7d83a0a54de6d3abb17c (patch) | |
tree | 91faf8dbe95712c786c33ec20e9c96eba1748318 /toys/lsb/pidof.c | |
parent | 5f225ca241cd927ebf148d714ab7e1f69461522c (diff) | |
download | toybox-a12eec740dc6d0c533fb7d83a0a54de6d3abb17c.tar.gz |
reboot: signal init, add -f option to call reboot();
init: use SIGINT, use xsignal()
Now that oneit supports the same signals as our "sysv"-init for shutdown,
make reboot et al. signal pid 1 with the appropriate signal.
Of these signals, only SIGINT works with sysvinit 2.88, causing a reboot.
The others are only supported in Busybox init.
Also, make init accept SIGINT and use xsignal().
Diffstat (limited to 'toys/lsb/pidof.c')
0 files changed, 0 insertions, 0 deletions