From 7d3e17c6c2739447212a47707b66e07d2b3dff10 Mon Sep 17 00:00:00 2001 From: Than Ngo Date: Mon, 21 Feb 2000 18:56:22 +0000 Subject: ignore ippp devices --- rc.d/init.d/network | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'rc.d/init.d') diff --git a/rc.d/init.d/network b/rc.d/init.d/network index d6987e4a..9f8a5b0e 100755 --- a/rc.d/init.d/network +++ b/rc.d/init.d/network @@ -34,7 +34,9 @@ cd /etc/sysconfig/network-scripts # find all the interfaces besides loopback. # ignore aliases, alternative configurations, and editor backup files -interfaces=`ls ifcfg* | egrep -v '(ifcfg-lo|:)' | egrep 'ifcfg-[a-z0-9]+$' | \ +interfaces=`ls ifcfg* | egrep -v '(ifcfg-lo|:)' | \ + egrep -v 'ifcfg-ippp[0-9]+$' | \ + egrep 'ifcfg-[a-z0-9]+$' | \ sed 's/^ifcfg-//g'` # See how we were called. -- cgit v1.2.1