diff options
author | Bill Nottingham <notting@redhat.com> | 2001-01-21 18:56:15 +0000 |
---|---|---|
committer | Bill Nottingham <notting@redhat.com> | 2001-01-21 18:56:15 +0000 |
commit | 39d5a7d5aa992994ba2883f820bae7190ba6400e (patch) | |
tree | 58435256f552c45f2f4b4cde6c9d245ee403da95 /rc.d/init.d/network | |
parent | d0bbd6034dd65308536e87f6d285c7335d33d547 (diff) | |
download | initscripts-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/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 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 |