aboutsummaryrefslogtreecommitdiffstats
path: root/rc.d/init.d
diff options
context:
space:
mode:
authorThan Ngo <than@redhat.com>2000-02-21 18:56:22 +0000
committerThan Ngo <than@redhat.com>2000-02-21 18:56:22 +0000
commit7d3e17c6c2739447212a47707b66e07d2b3dff10 (patch)
tree19c3e0bb569fb1f24f66bb04b9d4bda48778adc8 /rc.d/init.d
parent3fb27c99b660dd6dcdefc758a268acf478f96749 (diff)
downloadinitscripts-7d3e17c6c2739447212a47707b66e07d2b3dff10.tar
initscripts-7d3e17c6c2739447212a47707b66e07d2b3dff10.tar.gz
initscripts-7d3e17c6c2739447212a47707b66e07d2b3dff10.tar.bz2
initscripts-7d3e17c6c2739447212a47707b66e07d2b3dff10.tar.xz
initscripts-7d3e17c6c2739447212a47707b66e07d2b3dff10.zip
ignore ippp devices
Diffstat (limited to 'rc.d/init.d')
-rwxr-xr-xrc.d/init.d/network4
1 files changed, 3 insertions, 1 deletions
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.