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:30:14 -0400 |
commit | f5eef89d430f4a41fef95c5724b3d09170add782 (patch) | |
tree | 64d19a27ddcdd01f6e2d7432600e13755140d02e | |
parent | 9dd0d96d79b4c3f04161eb9513c8bbcef8aec615 (diff) | |
download | initscripts-f5eef89d430f4a41fef95c5724b3d09170add782.tar initscripts-f5eef89d430f4a41fef95c5724b3d09170add782.tar.gz initscripts-f5eef89d430f4a41fef95c5724b3d09170add782.tar.bz2 initscripts-f5eef89d430f4a41fef95c5724b3d09170add782.tar.xz initscripts-f5eef89d430f4a41fef95c5724b3d09170add782.zip |
Only blacklist the original loopback interface. (#579816, <evgsyr@gmail.com>)
-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 0c067427..ec9f3bbb 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/ //') |