sinit

suckless init
git clone git://git.suckless.org/sinit
Log | Files | Refs | README | LICENSE

commit 542049d495c3b7605915bdd5151a3e0fcc5c7999
parent f9f979a48e63429e104390c56a95815263b8f44a
Author: sin <sin@2f30.org>
Date:   Sat, 16 Aug 2014 18:02:52 +0100

Reword sinit manpage - clarify confusion around utmp entries.

Diffstat:
Msinit.8 | 12+++++++-----
1 file changed, 7 insertions(+), 5 deletions(-)

diff --git a/sinit.8 b/sinit.8 @@ -19,10 +19,12 @@ executing `/bin/rc.shutdown reboot'. .IP CHLD Reap children. .SS General considerations -Calling the aforementioned scripts directly might or might not -work in your case. For example if any process in your session -has stale filesystem references then it is likely your init scripts -will fail to unmount the filesystem cleanly. It is recommended to -signal sinit via a wrapper script. +Running the rc.shutdown script directly is not recommended. If any +process in your session has stale filesystem references then it is +likely your init scripts will fail to unmount the filesystem cleanly. +It is recommended to signal sinit via a wrapper script. +Similarly, sinit does not clear utmp records. The version of getty(8) +in ubase clears the utmp entries on the specified tty before it +spawns the given program, usually login(1). .SH SEE ALSO killall5(8), getty(8)