diff options
author | William Hubbs <w.d.hubbs@gmail.com> | 2013-12-11 17:39:38 -0600 |
---|---|---|
committer | William Hubbs <w.d.hubbs@gmail.com> | 2013-12-12 18:31:29 -0600 |
commit | 7b5fa011ac7a9544fe68a9abb2f8ef940d9845f7 (patch) | |
tree | b8c99079eac82e8c3a7c43b8d65585eb3b9a1f7f /man | |
parent | 09733d3fae77265263b1e918b9fce66a1c7a519a (diff) |
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
Diffstat (limited to 'man')
-rw-r--r-- | man/Makefile | 2 | ||||
-rw-r--r-- | man/openrc.8 (renamed from man/rc.8) | 4 | ||||
-rw-r--r-- | man/rc-service.8 | 2 | ||||
-rw-r--r-- | man/rc-status.8 | 2 | ||||
-rw-r--r-- | man/rc-update.8 | 2 | ||||
-rw-r--r-- | man/rc_plugin_hook.3 | 2 | ||||
-rw-r--r-- | man/runscript.8 | 4 |
7 files changed, 9 insertions, 9 deletions
diff --git a/man/Makefile b/man/Makefile index 4110c8f7..04862da2 100644 --- a/man/Makefile +++ b/man/Makefile @@ -1,7 +1,7 @@ MAN3= einfo.3 \ rc_config.3 rc_deptree.3 rc_find_pids.3 rc_plugin_hook.3 \ rc_runlevel.3 rc_service.3 rc_stringlist.3 -MAN8= rc-service.8 rc-status.8 rc-update.8 rc.8 runscript.8 \ +MAN8= rc-service.8 rc-status.8 rc-update.8 openrc.8 runscript.8 \ service.8 start-stop-daemon.8 # Handy macro to create symlinks @@ -22,10 +22,10 @@ .\" SUCH DAMAGE. .\" .Dd May 2, 2009 -.Dt RC 8 SMM +.Dt OPENRC 8 SMM .Os OpenRC .Sh NAME -.Nm rc +.Nm openrc .Nd stops and starts services for the specified runlevel .Sh SYNOPSIS .Nm diff --git a/man/rc-service.8 b/man/rc-service.8 index c40c7478..5ed5ce5c 100644 --- a/man/rc-service.8 +++ b/man/rc-service.8 @@ -63,7 +63,7 @@ otherwise -1. .Fl r , -resolve does the same and also prints the full path of the service to stdout. .Sh SEE ALSO -.Xr rc 8 , +.Xr openrc 8 , .Xr stdout 3 .Sh AUTHORS .An Roy Marples <roy@marples.name> diff --git a/man/rc-status.8 b/man/rc-status.8 index 90f26038..48f51a35 100644 --- a/man/rc-status.8 +++ b/man/rc-status.8 @@ -66,7 +66,7 @@ exits 0, except when checking for crashed services and it doesn't find any. tries to list services within each runlevel in the presently resolved dependency order if the dependency tree is available. .Sh SEE ALSO -.Xr rc 8 , +.Xr openrc 8 , .Xr rc-update 8 .Sh AUTHORS .An Roy Marples <roy@marples.name> diff --git a/man/rc-update.8 b/man/rc-update.8 index 088b5fea..459f0693 100644 --- a/man/rc-update.8 +++ b/man/rc-update.8 @@ -86,7 +86,7 @@ If the option is given then we either add or remove the runlevel from the runlevel. This allows inheritance of runlevels. .Sh SEE ALSO -.Xr rc 8 , +.Xr openrc 8 , .Xr rc-status 8 .Sh AUTHORS .An Roy Marples <roy@marples.name> diff --git a/man/rc_plugin_hook.3 b/man/rc_plugin_hook.3 index ab83b4c2..22a1c589 100644 --- a/man/rc_plugin_hook.3 +++ b/man/rc_plugin_hook.3 @@ -44,7 +44,7 @@ is set to the name of the runlevel or name of the service. Plugins can affect the parent environment by writing NULL separated strings to .Va rc_environ_fd . .Sh SEE ALSO -.Xr rc 8 , +.Xr openrc 8 , .Xr runscript 8 .Sh AUTHORS .An Roy Marples <roy@marples.name> diff --git a/man/runscript.8 b/man/runscript.8 index 7a0b79ed..e0d7cf02 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 , |