From c9912942f0f4c2c150d81ed212a700b3508f0ab0 Mon Sep 17 00:00:00 2001 From: William Hubbs Date: Fri, 11 Mar 2011 16:11:10 -0600 Subject: [PATCH] update documentation for rc_sys Originally the plan was to deprecate this code, but this will not be happening. There are some subsystems which can still be autodetected, so we are keeping this code and allowing users to override the automatic detection with this variable as well as set it to other subtypes we cannot autodetect. X-Gentoo-Bug: 357247 X-Gentoo-Bug-URL: http://bugs.gentoo.org/show_bug.cgi?id=357247 --- etc/rc.conf.FreeBSD | 8 ++++---- etc/rc.conf.Linux | 9 +++++---- etc/rc.conf.NetBSD | 8 ++++---- 3 files changed, 13 insertions(+), 12 deletions(-) diff --git a/etc/rc.conf.FreeBSD b/etc/rc.conf.FreeBSD index ed5b2159..6c48ae7a 100644 --- a/etc/rc.conf.FreeBSD +++ b/etc/rc.conf.FreeBSD @@ -2,10 +2,10 @@ # "" - nothing special # "jail" - FreeBSD jails # "prefix" - Prefix -# If unset, the old automagic detection code will be triggered. Said old code -# is deprecated and will be removed not later than 2011/03/01. +# If this is commented out, automatic detection will be attempted. +# Note that automatic detection does not work in a prefix environment. # -# This should be set to the value representing what environment this file is -# PRESENTLY in, not what virtualization the environment is capable of. +# This should be set to the value representing the environment this file is +# PRESENTLY in, not the virtualization the environment is capable of. rc_sys="@RC_SYS_DEFAULT@" diff --git a/etc/rc.conf.Linux b/etc/rc.conf.Linux index 9632a75c..9a6e1ab2 100644 --- a/etc/rc.conf.Linux +++ b/etc/rc.conf.Linux @@ -7,11 +7,12 @@ # "vserver" - Linux vserver # "xen0" - Xen0 Domain # "xenU" - XenU Domain -# If unset, the old automagic detection code will be triggered. Said old code -# is deprecated and will be removed not later than 2011/03/01. +# If this is commented out, automatic detection will be attempted. +# Note that autodetection will not work in a prefix environment or in a +# linux container. # -# This should be set to the value representing what environment this file is -# PRESENTLY in, not what virtualization the environment is capable of. +# This should be set to the value representing the environment this file is +# PRESENTLY in, not the virtualization the environment is capable of. rc_sys="@RC_SYS_DEFAULT@" ############################################################################## diff --git a/etc/rc.conf.NetBSD b/etc/rc.conf.NetBSD index c49a9abe..12d61bf4 100644 --- a/etc/rc.conf.NetBSD +++ b/etc/rc.conf.NetBSD @@ -3,10 +3,10 @@ # "prefix" - Prefix # "xen0" - Xen0 Domain # "xenU" - XenU Domain -# If unset, the old automagic detection code will be triggered. Said old code -# is deprecated and will be removed not later than 2011/03/01. +# If this is commented out, automatic detection will be attempted. +# Note that automatic detection does not work in a prefix environment. # -# This should be set to the value representing what environment this file is -# PRESENTLY in, not what virtualization the environment is capable of. +# This should be set to the value representing the environment this file is +# PRESENTLY in, not the virtualization the environment is capable of. rc_sys="@RC_SYS_DEFAULT@"