aboutsummaryrefslogtreecommitdiff
path: root/man/runscript.8
diff options
context:
space:
mode:
Diffstat (limited to 'man/runscript.8')
-rw-r--r--man/runscript.87
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.