diff options
author | Bill Nottingham <notting@redhat.com> | 2004-09-27 20:49:31 +0000 |
---|---|---|
committer | Bill Nottingham <notting@redhat.com> | 2004-09-27 20:49:31 +0000 |
commit | 999f0864a95a495eaa6ab2c78a17564fd83ce82b (patch) | |
tree | 99880825151a4d7b4559100e8dcdacb1ef61c6f4 /rc.d/init.d/network | |
parent | 7e73ff0d0bfb06da5733ddcbe1fd51c30b684497 (diff) | |
download | initscripts-999f0864a95a495eaa6ab2c78a17564fd83ce82b.tar initscripts-999f0864a95a495eaa6ab2c78a17564fd83ce82b.tar.gz initscripts-999f0864a95a495eaa6ab2c78a17564fd83ce82b.tar.bz2 initscripts-999f0864a95a495eaa6ab2c78a17564fd83ce82b.tar.xz initscripts-999f0864a95a495eaa6ab2c78a17564fd83ce82b.zip |
fix overzealousness with -range aliases (#65415)
Diffstat (limited to 'rc.d/init.d/network')
-rwxr-xr-x | rc.d/init.d/network | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rc.d/init.d/network b/rc.d/init.d/network index 80afd8fc..af5a4b2a 100755 --- a/rc.d/init.d/network +++ b/rc.d/init.d/network @@ -43,7 +43,7 @@ cd /etc/sysconfig/network-scripts # find all the interfaces besides loopback. # ignore aliases, alternative configurations, and editor backup files -interfaces=`ls ifcfg* | LANG=C egrep -v '(ifcfg-lo|:|rpmsave|rpmorig|rpmnew)' | \ +interfaces=`ls ifcfg* | LANG=C egrep -v '(ifcfg-lo|:|-range|rpmsave|rpmorig|rpmnew)' | \ LANG=C egrep -v '(~|\.bak)$' | \ LANG=C egrep 'ifcfg-[A-Za-z0-9\._-]+$' | \ sed 's/^ifcfg-//g' | |