aboutsummaryrefslogtreecommitdiffstats
path: root/rc.d/init.d
diff options
context:
space:
mode:
authorBill Nottingham <notting@redhat.com>2010-04-06 13:28:50 -0400
committerBill Nottingham <notting@redhat.com>2010-04-06 13:28:50 -0400
commitb0fe47d3631c329398e16c5cecaed87b7ed1e16b (patch)
tree8b6dfae0ccaeac9599485fe819d0cce086e355b5 /rc.d/init.d
parent2159eec917375d60682224f35f3dc1a969b34d46 (diff)
downloadinitscripts-b0fe47d3631c329398e16c5cecaed87b7ed1e16b.tar
initscripts-b0fe47d3631c329398e16c5cecaed87b7ed1e16b.tar.gz
initscripts-b0fe47d3631c329398e16c5cecaed87b7ed1e16b.tar.bz2
initscripts-b0fe47d3631c329398e16c5cecaed87b7ed1e16b.tar.xz
initscripts-b0fe47d3631c329398e16c5cecaed87b7ed1e16b.zip
Only blacklist the original loopback interface. (#579816, <evgsyr@gmail.com>)
Diffstat (limited to 'rc.d/init.d')
-rwxr-xr-xrc.d/init.d/network3
1 files changed, 2 insertions, 1 deletions
diff --git a/rc.d/init.d/network b/rc.d/init.d/network
index 71e67ee0..cc218541 100755
--- a/rc.d/init.d/network
+++ b/rc.d/init.d/network
@@ -1,3 +1,4 @@
+
#! /bin/bash
#
# network Bring up/down networking
@@ -48,7 +49,7 @@ cd /etc/sysconfig/network-scripts
# ignore aliases, alternative configurations, and editor backup files
interfaces=$(ls ifcfg* | \
LANG=C sed -e "$__sed_discard_ignored_files" \
- -e '/\(ifcfg-lo\|:\|ifcfg-.*-range\)/d' \
+ -e '/\(ifcfg-lo$\|:\|ifcfg-.*-range\)/d' \
-e '/ifcfg-[A-Za-z0-9\._-]\+$/ { s/^ifcfg-//g;s/[0-9]/ &/}' | \
LANG=C sort -k 1,1 -k 2n | \
LANG=C sed 's/ //')