mirror of
https://github.com/OpenRC/openrc.git
synced 2024-11-23 01:43:37 +08:00
remove RC_PREFIX environment variable
This was only used in gentoo prefix installations which we no longer support.
This commit is contained in:
parent
171ba6d836
commit
723fa1eac1
@ -563,9 +563,6 @@ 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`.
|
||||
.It Va RC_CMD
|
||||
|
@ -197,10 +197,6 @@ env_config(void)
|
||||
if (sys)
|
||||
setenv("RC_SYS", sys, 1);
|
||||
|
||||
#ifdef PREFIX
|
||||
setenv("RC_PREFIX", RC_PREFIX, 1);
|
||||
#endif
|
||||
|
||||
/* Some scripts may need to take a different code path if
|
||||
Linux/FreeBSD, etc
|
||||
To save on calling uname, we store it in an environment variable */
|
||||
|
Loading…
Reference in New Issue
Block a user