SysV shutdown util

From: Jeff <sysinit_at_yandex.com>
Date: Sat, 11 May 2019 13:26:25 +0200

10.05.2019, 20:03, "Laurent Bercot" <ska-supervision_at_skarnet.org>:
> then signals are not enough:
> you need to be able to convey more information to pid 1
> than a few signals can.

such as ?
what more information than the runlevel (0 or 6, maybe 1 to go
into single user) does SysV init need to start the system shutdown ?
and shutdown itself just notifies all users via wall, logs shutdown time
to wtmp and then notifies init via the /dev/.initctl fifo.
this can all be done solely by 2 different signals.

the Void Linux team just made a shell script out of it that just brings
down the runit services and runsvdir itself.
Received on Sat May 11 2019 - 11:26:25 UTC

This archive was generated by hypermail 2.3.0 : Sun May 09 2021 - 19:44:19 UTC