From 999f0864a95a495eaa6ab2c78a17564fd83ce82b Mon Sep 17 00:00:00 2001 From: Bill Nottingham Date: Mon, 27 Sep 2004 20:49:31 +0000 Subject: fix overzealousness with -range aliases (#65415) --- rc.d/init.d/network | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'rc.d') 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' | -- cgit v1.2.1