add RC_PREFIX environment variable

This will be used by init scripts which want to be able to run in a
Gentoo Prefix installation. RC_PREFIX will contain the prefix offset.
This commit is contained in:
William Hubbs
2012-09-09 22:22:15 -05:00
parent 918d261658
commit 5092595835
3 changed files with 8 additions and 0 deletions

View File

@@ -352,6 +352,9 @@ Default runlevel chosen. Default is default.
.It Va RC_SYS
A special variable to describe the system more.
Possible values are OPENVZ, XENU, XEN0, UML and VSERVER.
.It Va RC_PREFIX
In a Gentoo Prefix installation, this variable contains the prefix
offset. Otherwise it is undefined.
.It Va RC_UNAME
The result of `uname -s`.
.El