allow default rc_sys value to be set at build time

This allows the default value of rc_sys to be set when openrc is
compiled. This will allow openrc to be installed, e.g. on vserver guests
and will allow them to be rebooted without the need to edit rc.conf.

This patch is a combined effort between myself and Robin Johnson.

X-Gentoo-Bug: 357247
X-Gentoo-Bug-URL: http://bugs.gentoo.org/show_bug.cgi?id=357247
This commit is contained in:
William Hubbs
2011-03-04 19:08:08 -06:00
parent 202fa20cbc
commit 3fca6bd027
5 changed files with 19 additions and 4 deletions

View File

@@ -8,5 +8,5 @@
# This should be set to the value representing what environment this file is
# PRESENTLY in, not what virtualization the environment is capable of.
# See the OpenRC migration guide for more details.
rc_sys=""
rc_sys="@RC_SYS_DEFAULT@"

View File

@@ -13,7 +13,7 @@
# This should be set to the value representing what environment this file is
# PRESENTLY in, not what virtualization the environment is capable of.
# See the OpenRC migration guide for more details.
rc_sys=""
rc_sys="@RC_SYS_DEFAULT@"
##############################################################################
# LINUX SPECIFIC OPTIONS

View File

@@ -9,5 +9,5 @@
# This should be set to the value representing what environment this file is
# PRESENTLY in, not what virtualization the environment is capable of.
# See the OpenRC migration guide for more details.
rc_sys=""
rc_sys="@RC_SYS_DEFAULT@"