summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Gianelloni <wolf31o2@gentoo.org>2006-09-13 23:04:47 +0000
committerChris Gianelloni <wolf31o2@gentoo.org>2006-09-13 23:04:47 +0000
commit19f0092b5006a134cd217b12fd3f4f558c252d46 (patch)
tree6c0faffce17dedd664e1eff1547137cd845fa639 /profiles
parentFixing segfaults after few seconds of driving, Bug #100987 (diff)
downloadgentoo-2-19f0092b5006a134cd217b12fd3f4f558c252d46.tar.gz
gentoo-2-19f0092b5006a134cd217b12fd3f4f558c252d46.tar.bz2
gentoo-2-19f0092b5006a134cd217b12fd3f4f558c252d46.zip
Updated the message spit out by profile.bashrc in an attempt to reduce the number of questions from users on the server mailing list and IRC channels. It's pretty simple. Nobody should be using this profile who doesn't understand the implications of what is done in it, unlike the desktop profile which tries to set sensible defaults.
Diffstat (limited to 'profiles')
-rw-r--r--profiles/default-linux/x86/2006.1/server/profile.bashrc22
1 files changed, 16 insertions, 6 deletions
diff --git a/profiles/default-linux/x86/2006.1/server/profile.bashrc b/profiles/default-linux/x86/2006.1/server/profile.bashrc
index 74f2fe22d5df..712fb9567657 100644
--- a/profiles/default-linux/x86/2006.1/server/profile.bashrc
+++ b/profiles/default-linux/x86/2006.1/server/profile.bashrc
@@ -1,11 +1,21 @@
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/profiles/default-linux/x86/2006.1/server/profile.bashrc,v 1.3 2006/08/31 22:36:47 cardoe Exp $
+# $Header: /var/cvsroot/gentoo-x86/profiles/default-linux/x86/2006.1/server/profile.bashrc,v 1.4 2006/09/13 23:04:47 wolf31o2 Exp $
-if [[ ${EBUILD_PHASE} == "setup" ]]
+if [ "${EBUILD_PHASE}" == "setup" ]
then
- ewarn "This profile has not been tested thoroughly and is not considered to be"
- ewarn "a supported server profile at this time. For a supported server"
- ewarn "profile, please check the Hardened project (http://hardened.gentoo.org)."
- echo
+ if [ ! "${I_KNOW_WHAT_I_AM_DOING}" == "yes" ]
+ then
+ ewarn "This profile has not been tested thoroughly and is not considered to be"
+ ewarn "a supported server profile at this time. For a supported server"
+ ewarn "profile, please check the Hardened project (http://hardened.gentoo.org)."
+ echo
+ ewarn "This profile is merely a convenience for people who require a more"
+ ewarn "minimal profile, yet are unable to use hardened due to restrictions in"
+ ewarn "the software being used on the server. This profile should also be used"
+ ewarn "if you require GCC 4.1 or Glibc 2.4 support. If you don't know if this"
+ ewarn "applies to you, then it doesn't and you should probably be using"
+ ewarn "Hardened, instead."
+ echo
+ fi
fi