diff options
author | Laurent Bercot <ska-skaware@skarnet.org> | 2019-11-28 19:10:41 +0000 |
---|---|---|
committer | Laurent Bercot <ska-skaware@skarnet.org> | 2019-11-28 19:10:41 +0000 |
commit | c203b45fb689596c509dca981f39e79b455796fe (patch) | |
tree | 9283abf59651b5740894a8dfe985a04b9ac70ad6 /skel/rc.shutdown | |
parent | 7ce8f0ef40e9a43c5ce89b7b9bbbb974779f67f5 (diff) | |
download | s6-linux-init-c203b45fb689596c509dca981f39e79b455796fe.tar.xz |
Add clarifying /dev/console comment to rc.shutdown
Diffstat (limited to 'skel/rc.shutdown')
-rwxr-xr-x | skel/rc.shutdown | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/skel/rc.shutdown b/skel/rc.shutdown index d01786d..4608be7 100755 --- a/skel/rc.shutdown +++ b/skel/rc.shutdown @@ -4,6 +4,16 @@ ### Ideally, it should be a single call to the service manager, ### telling it to bring all the services down. +### If your s6-linux-init-maker invocation was made with the -1 +### option, messages from rc.shutdown will appear on /dev/console +### as well as be logged by the catch-all logger. +### If your s6-linux-init-maker invocation did NOT include the -1 +### option, messages from rc.shutdown will only be logged by the +### catch-all logger and will NOT appear on /dev/console. In order +### to print them to /dev/console instead, you may want to +### uncomment the following line: +# exec >/dev/console 2>&1 + ### If your services are managed by sysv-rc: ### also remove the K11reboot link from /etc/rc6.d to prevent ### sysv-rc from rebooting prematurely - because sysvinit does |