From 7b5fa011ac7a9544fe68a9abb2f8ef940d9845f7 Mon Sep 17 00:00:00 2001 From: William Hubbs Date: Wed, 11 Dec 2013 17:39:38 -0600 Subject: Rename the rc binary to openrc Debian requested this rename due to the "rc" binary conflicting with the "rc" binary from the plan 9 shell. We also add a deprecation warning to the binary when it is run as rc to encourage users to switch to openrc instead. X-Gentoo-Bug: 493958 X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=493958 --- man/runscript.8 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'man/runscript.8') diff --git a/man/runscript.8 b/man/runscript.8 index 7a0b79e..e0d7cf0 100644 --- a/man/runscript.8 +++ b/man/runscript.8 @@ -343,7 +343,7 @@ sets the following environment variables for use in the service scripts: .It Va RC_SVCNAME Name of the service. .It Va RC_RUNLEVEL -Current runlevel that rc is in. Note that, in OpenRC, the reboot +Current runlevel that OpenRC is in. Note that, in OpenRC, the reboot 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 @@ -536,7 +536,7 @@ Instead we return 1 to be compliant with Gentoo baselayout. Users are encouraged to use the is_newer_than function which returns correctly. .Sh SEE ALSO .Xr einfo 3 , -.Xr rc 8 , +.Xr openrc 8 , .Xr rc-status 8 , .Xr rc-update 8 , .Xr rc_plugin_hook 3 , -- cgit v1.2.3