[Toybox] [PATCH] reboot/halt/poweroff: add -d.

enh enh at google.com
Fri Sep 10 16:31:35 PDT 2021


busybox has a -d that delays before proceeding. Annoyingly systemd also
has a -d, but that's to disable writing a wtmp shutdown entry.

Also switch to using FLAG().
---
 toys/other/reboot.c | 24 +++++++++++++++++++-----
 1 file changed, 19 insertions(+), 5 deletions(-)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.landley.net/pipermail/toybox-landley.net/attachments/20210910/79926815/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-reboot-halt-poweroff-add-d.patch
Type: text/x-patch
Size: 2146 bytes
Desc: not available
URL: <http://lists.landley.net/pipermail/toybox-landley.net/attachments/20210910/79926815/attachment.bin>


More information about the Toybox mailing list