summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoy Marples <uberlord@gentoo.org>2006-11-15 16:07:28 +0000
committerRoy Marples <uberlord@gentoo.org>2006-11-15 16:07:28 +0000
commit3860c5da4cafddf47bcf6a8ef41b2a903d6f8b14 (patch)
treea89dffbbdc7254017740866efc683d1a06a6f549
parentDon't use fstype when unmounting (diff)
downloadbaselayout-3860c5da4cafddf47bcf6a8ef41b2a903d6f8b14.tar.gz
baselayout-3860c5da4cafddf47bcf6a8ef41b2a903d6f8b14.tar.bz2
baselayout-3860c5da4cafddf47bcf6a8ef41b2a903d6f8b14.zip
Typo
svn path=/branches/baselayout-1_12/; revision=2386
-rw-r--r--etc/conf.d/rc2
-rwxr-xr-xnet-scripts/init.d/net.lo4
2 files changed, 5 insertions, 1 deletions
diff --git a/etc/conf.d/rc b/etc/conf.d/rc
index 52ce869c..5ca5d6fd 100644
--- a/etc/conf.d/rc
+++ b/etc/conf.d/rc
@@ -61,7 +61,7 @@ RC_PLUG_SERVICES=""
RC_NET_STRICT_CHECKING="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
+# completely 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"
diff --git a/net-scripts/init.d/net.lo b/net-scripts/init.d/net.lo
index 92b3851c..8e70cdd5 100755
--- a/net-scripts/init.d/net.lo
+++ b/net-scripts/init.d/net.lo
@@ -667,6 +667,8 @@ iface_start() {
local -a config=() fallback=() fallback_route=() conf=() a=() b=()
local ifvar=$(bash_variable "$1") i= j= metric=0
+ interface_exists "${iface}" && interface_up "${iface}"
+
# pre Start any modules with
for mod in ${MODULES[@]}; do
if is_function "${mod}_pre_start" ; then
@@ -674,6 +676,8 @@ iface_start() {
fi
done
+ interface_exists "${iface}" && interface_up "${iface}"
+
x="metric_${ifvar}"
# If we don't have a metric then calculate one
# Our modules will set the metric variable to a suitable base