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

Rob Landley rob at landley.net
Sat Sep 11 10:35:54 PDT 2021


On 9/10/21 6:31 PM, enh via Toybox wrote:
> busybox has a -d that delays before proceeding. Annoyingly systemd also
> has a -d, but that's to disable writing a wtmp shutdown entry.

I've mostly said SECONDS and then had toybox --help explain about the fraction,
but I'm aware that users aren't necessarily getting that information. Hmmm.
Repeating the big long explanation everywhere that uses it seems less than ideal
too. There's a todo item here I need to figure out.

Also, option parsing is STILL getting --help subtly wrong:

  $ ./toybox halt --help
  toybox: Not root (see "toybox --help")

Sigh...

Rob



More information about the Toybox mailing list