diff options
Diffstat (limited to 'sysconfig')
-rw-r--r-- | sysconfig/network-scripts/network-functions | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/sysconfig/network-scripts/network-functions b/sysconfig/network-scripts/network-functions index b8529800..49542d87 100644 --- a/sysconfig/network-scripts/network-functions +++ b/sysconfig/network-scripts/network-functions @@ -1,5 +1,7 @@ -# This is not a shell script; it provides functions to network scripts -# that source it. +# -*-Shell-script-*- +# +# This file is not a stand-alone shell script; it provides functions +# to network scripts that source it. need_config() { @@ -99,6 +101,8 @@ check_link_down () return 1 elif echo $output | grep -q "link ok"; then return 1 + elif echo $output | grep -q "No MII transceiver present"; then + return 1 else return 0 fi |