summaryrefslogtreecommitdiff
path: root/etc
diff options
context:
space:
mode:
authorChristian Heim <phreak@gentoo.org>2005-12-22 09:40:51 +0000
committerChristian Heim <phreak@gentoo.org>2005-12-22 09:40:51 +0000
commitc1395f64105640981658134855c899bc316c72c7 (patch)
treebac28abd4d8d23f57ada16511c4aa2115b8ecd57 /etc
parentfix devpts for openvz (diff)
downloadbaselayout-vserver-c1395f64105640981658134855c899bc316c72c7.tar.gz
baselayout-vserver-c1395f64105640981658134855c899bc316c72c7.tar.bz2
baselayout-vserver-c1395f64105640981658134855c899bc316c72c7.zip
Importing latest baselayout/trunk changes. This is a merge with revision 1768.
svn path=/baselayout-vserver/trunk/; revision=177
Diffstat (limited to 'etc')
-rw-r--r--etc/conf.d/rc6
-rw-r--r--etc/profile14
2 files changed, 14 insertions, 6 deletions
diff --git a/etc/conf.d/rc b/etc/conf.d/rc
index 3387538..7f48996 100644
--- a/etc/conf.d/rc
+++ b/etc/conf.d/rc
@@ -35,6 +35,12 @@ RC_NET_STRICT_CHECKING="none"
RC_AUTO_INTERFACE="no"
+# RC_DOWN_INTERFACE allows you to specify if RC will bring the interface
+# compeletly down when it stops. The default is yes, but there are some
+# instances where you may not want this to happen such as using Wake On LAN.
+
+RC_DOWN_INTERFACE="yes"
+
# RC_VERBOSE will make init scripts more verbose. Only networking scripts
# really use this at this time, and this is useful for trouble shooting
# any issues you may have.
diff --git a/etc/profile b/etc/profile
index f347430..8655c73 100644
--- a/etc/profile
+++ b/etc/profile
@@ -57,9 +57,11 @@ else
PS1="`whoami`@`uname -n | cut -f1 -d.` \$ "
fi
-for sh in /etc/profile.d/*.sh ; do
- if [ -r "$sh" ] ; then
- . "$sh"
- fi
-done
-unset sh
+if [ -d /etc/profile.d ] ; then
+ for sh in /etc/profile.d/*.sh ; do
+ if [ -r "$sh" ] ; then
+ . "$sh"
+ fi
+ done
+ unset sh
+fi