diff options
author | Bill Nottingham <notting@redhat.com> | 2010-04-06 13:28:50 -0400 |
---|---|---|
committer | Bill Nottingham <notting@redhat.com> | 2010-04-06 13:29:55 -0400 |
commit | 282884a3110534a33909e89c4731f0661dadc8c5 (patch) | |
tree | a70d89524f78c2854f0ecb14ff25f54beefd421f /rc.d | |
parent | 329160dfaf38b756c1e998d90ef222d6d53356f6 (diff) | |
download | initscripts-282884a3110534a33909e89c4731f0661dadc8c5.tar initscripts-282884a3110534a33909e89c4731f0661dadc8c5.tar.gz initscripts-282884a3110534a33909e89c4731f0661dadc8c5.tar.bz2 initscripts-282884a3110534a33909e89c4731f0661dadc8c5.tar.xz initscripts-282884a3110534a33909e89c4731f0661dadc8c5.zip |
Only blacklist the original loopback interface. (#579816, <evgsyr@gmail.com>)
Diffstat (limited to 'rc.d')
-rwxr-xr-x | rc.d/init.d/network | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/rc.d/init.d/network b/rc.d/init.d/network index 32dc190f..9e0fc2a0 100755 --- a/rc.d/init.d/network +++ b/rc.d/init.d/network @@ -1,3 +1,4 @@ + #! /bin/bash # # network Bring up/down networking @@ -45,7 +46,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/ //') |