10.05.2019, 20:03, "Laurent Bercot" <[email protected]>: > 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.
