diff options
author | William Hubbs <williamh@gentoo.org> | 2012-02-19 13:11:11 -0600 |
---|---|---|
committer | William Hubbs <williamh@gentoo.org> | 2012-02-19 13:11:11 -0600 |
commit | 47c3b284599cb4cfc9d1263af6d2039d67906b43 (patch) | |
tree | 7d1bebfec4da0690bf0e34fa11fdaabe8357cf2b | |
parent | f18763bcd8834909222d3ca1388845eca4d6ac13 (diff) |
Clarify the documentation about the reboot runlevel
The reboot runlevel does exist, but it gets remapped to the shutdown
runlevel internally.
-rw-r--r-- | man/runscript.8 | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/man/runscript.8 b/man/runscript.8 index 1351aeae..bab54e2d 100644 --- a/man/runscript.8 +++ b/man/runscript.8 @@ -333,9 +333,10 @@ sets the following environment variables for use in the service scripts: Name of the service. .It Va RC_RUNLEVEL Current runlevel that rc is in. Note that, in OpenRC, the reboot -runlevel does not exist. This was done because most services do not need -to know if a system is shutting down or rebooting. If you are writing a -service that needs to know the difference, see the RC_REBOOT variable. +runlevel is mapped to the shutdown runlevel. This was done because most +services do not need to know if a system is shutting down or rebooting. +If you are writing a service that does need to know this, see the +RC_REBOOT variable. .It Va RC_REBOOT This variable contains YES if the system is rebooting. If your service needs to know the system is rebooting, you should test this variable. |