From 3fca6bd0278bc2a21fdd72c3bf20220e81b2eab5 Mon Sep 17 00:00:00 2001 From: William Hubbs Date: Fri, 4 Mar 2011 19:08:08 -0600 Subject: 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 --- etc/rc.conf.FreeBSD | 2 +- etc/rc.conf.Linux | 2 +- etc/rc.conf.NetBSD | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) (limited to 'etc') diff --git a/etc/rc.conf.FreeBSD b/etc/rc.conf.FreeBSD index 800c6cf4..139a8256 100644 --- a/etc/rc.conf.FreeBSD +++ b/etc/rc.conf.FreeBSD @@ -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@" diff --git a/etc/rc.conf.Linux b/etc/rc.conf.Linux index b110a81f..1400af5f 100644 --- a/etc/rc.conf.Linux +++ b/etc/rc.conf.Linux @@ -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 diff --git a/etc/rc.conf.NetBSD b/etc/rc.conf.NetBSD index b29000b7..3528a00a 100644 --- a/etc/rc.conf.NetBSD +++ b/etc/rc.conf.NetBSD @@ -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@" -- cgit v1.2.3