aboutsummaryrefslogtreecommitdiffstats
path: root/rc.d
diff options
context:
space:
mode:
authorBill Nottingham <notting@redhat.com>2001-01-21 18:56:15 +0000
committerBill Nottingham <notting@redhat.com>2001-01-21 18:56:15 +0000
commit39d5a7d5aa992994ba2883f820bae7190ba6400e (patch)
tree58435256f552c45f2f4b4cde6c9d245ee403da95 /rc.d
parentd0bbd6034dd65308536e87f6d285c7335d33d547 (diff)
downloadinitscripts-39d5a7d5aa992994ba2883f820bae7190ba6400e.tar
initscripts-39d5a7d5aa992994ba2883f820bae7190ba6400e.tar.gz
initscripts-39d5a7d5aa992994ba2883f820bae7190ba6400e.tar.bz2
initscripts-39d5a7d5aa992994ba2883f820bae7190ba6400e.tar.xz
initscripts-39d5a7d5aa992994ba2883f820bae7190ba6400e.zip
only load modules for ethernet devices
Diffstat (limited to 'rc.d')
-rwxr-xr-xrc.d/init.d/network2
1 files changed, 1 insertions, 1 deletions
diff --git a/rc.d/init.d/network b/rc.d/init.d/network
index c68f4ccb..65650447 100755
--- a/rc.d/init.d/network
+++ b/rc.d/init.d/network
@@ -58,7 +58,7 @@ case "$1" in
esac
for i in $interfaces; do
- if egrep -L "^ONBOOT=\"?[Nn][Oo]\"?" ifcfg-$i >/dev/null 2>&1; then
+ if egrep -L "^ONBOOT=\"?[Nn][Oo]\"?" ifcfg-$i >/dev/null 2>&1 && [ "${i##eth}" != "$i" ]; then
# Probe module to preserve interface ordering
/sbin/ifconfig $i >/dev/null 2>&1
else