initctl: add reboot, halt, and poweroff commands

Simple wrappers for the signals Finit responds to.  Will need complete
rewrite when support for delayed reboot/halt is added.

Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
This commit is contained in:
Joachim Nilsson committed 2016-08-04 22:45:05 +02:00
1 parent 6490735ee9
commit baa914e995
2 files changed
+10 -1

No files matched your search

-1
View File
@@ -21,7 +21,6 @@ General
* Add halt/poweroff/shutdown symlinks to finit and convert reboot, but
only install symlinks if these tools don't already exist.
* Add support for timed shutdown in Finit, including cancelled shutdown.
* Add reboot, halt, poweroff commands to `initctl` tool
* SysV init and systemd use SIGUSR1 to restart their FIFO/D-Bus. Add
API restart to SIGHUP callback for the same functionality in Finit.
* Add `finit.conf` support for UPS notification (SIGPWR) to start a task