[Toybox] reboot: signal init, add -f to bypass

Isaac Dunham ibid.ag at gmail.com
Wed Aug 5 20:16:34 PDT 2015


On Fri, Jul 31, 2015 at 01:14:55PM -0700, Isaac Dunham wrote:
> On Sat, Mar 28, 2015 at 08:02:04PM +0000, Isaac Dunham wrote:
> > 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().
> 
> Ping.

Ignore this version; I didn't remove a default signal handler for SIGINT.
The fixed version is in my pull request.

Thanks,
Isaac Dunham


 1438830994.0


More information about the Toybox mailing list