diff options
author | Bill Nottingham <notting@redhat.com> | 2006-11-22 15:51:38 +0000 |
---|---|---|
committer | Bill Nottingham <notting@redhat.com> | 2006-11-22 15:51:38 +0000 |
commit | 3d7643117782008acfdaa14dfab28e65d9ad7f5d (patch) | |
tree | f8e2e7a05f28e28d7d3fe658dd2352cb0699b335 | |
parent | 5a6929a48486950b503c9443e03212c21d451a88 (diff) | |
download | initscripts-3d7643117782008acfdaa14dfab28e65d9ad7f5d.tar initscripts-3d7643117782008acfdaa14dfab28e65d9ad7f5d.tar.gz initscripts-3d7643117782008acfdaa14dfab28e65d9ad7f5d.tar.bz2 initscripts-3d7643117782008acfdaa14dfab28e65d9ad7f5d.tar.xz initscripts-3d7643117782008acfdaa14dfab28e65d9ad7f5d.zip |
more fixes for network module unload (#211474)
-rw-r--r-- | sysconfig/network-scripts/network-functions-ipv6 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sysconfig/network-scripts/network-functions-ipv6 b/sysconfig/network-scripts/network-functions-ipv6 index 8cfa9158..2db8248c 100644 --- a/sysconfig/network-scripts/network-functions-ipv6 +++ b/sysconfig/network-scripts/network-functions-ipv6 @@ -840,7 +840,7 @@ ipv6_test_device_status() { fi # Test if device exists - if ! ipv6_exec_ip link show dev $device >/dev/null 2>&1; then + if [ ! -d "/sys/class/net/${device}" ]; then # not exists return 10 fi |