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

Rob Landley rob at landley.net
Wed Aug 5 21:25:45 PDT 2015


On 08/05/2015 10:16 PM, Isaac Dunham wrote:
> 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.

Timing.

Rob

 1438835145.0


More information about the Toybox mailing list