From 6159a32f39afc60d88602cc796cef6a395bb78bf Mon Sep 17 00:00:00 2001 From: Roy Marples Date: Wed, 19 Mar 2008 19:57:24 +0000 Subject: SVCNAME -> RC_SVCNAME, but export SVCNAME still for compat. --- man/runscript.8 | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'man/runscript.8') diff --git a/man/runscript.8 b/man/runscript.8 index 7aaf964..6f3bd43 100644 --- a/man/runscript.8 +++ b/man/runscript.8 @@ -22,7 +22,7 @@ .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF .\" SUCH DAMAGE. .\" -.Dd Feb 22, 2008 +.Dd Mar 19, 2008 .Dt RUNSCRIPT 8 SMM .Os OpenRC .Sh NAME @@ -276,7 +276,7 @@ matches YES, TRUE, ON or 1 regardless of case then we return 0, otherwise 1. .Nm sets the following environment variables for use in the service scripts: .Bl -tag -width "RC_DEFAULTLEVEL" -.It Va SVCNAME +.It Va RC_SVCNAME Name of the service. .It Va RC_RUNLEVEL Current runlevel that rc is in. @@ -295,11 +295,11 @@ The result of `uname -s`. Configuration files, relative to the location of the service. If a file ending with .${RC_RUNLEVEL} exists then we use that instead. .Bl -ohang -.It Pa ../conf.d/${SVCNAME%%.*} +.It Pa ../conf.d/${RC_SVCNAME%%.*} mulitplexed configuration file. -Example: if ${SVCNAME} is net.eth1 then look for +Example: if ${RC_SVCNAME} is net.eth1 then look for .Pa ../conf.d/net . -.It Pa ../conf.d/${SVCNAME} +.It Pa ../conf.d/${RC_SVCNAME} service configuration file. .It Pa /etc/rc.conf host configuration file. -- cgit v1.2.3