aboutsummaryrefslogtreecommitdiffstats
path: root/sysconfig/network-scripts/network-functions-ipv6
diff options
context:
space:
mode:
authorBill Nottingham <notting@redhat.com>2006-11-22 15:51:38 +0000
committerBill Nottingham <notting@redhat.com>2006-11-22 15:51:38 +0000
commit3d7643117782008acfdaa14dfab28e65d9ad7f5d (patch)
treef8e2e7a05f28e28d7d3fe658dd2352cb0699b335 /sysconfig/network-scripts/network-functions-ipv6
parent5a6929a48486950b503c9443e03212c21d451a88 (diff)
downloadinitscripts-3d7643117782008acfdaa14dfab28e65d9ad7f5d.tar
initscripts-3d7643117782008acfdaa14dfab28e65d9ad7f5d.tar.gz
initscripts-3d7643117782008acfdaa14dfab28e65d9ad7f5d.tar.bz2
initscripts-3d7643117782008acfdaa14dfab28e65d9ad7f5d.tar.xz
initscripts-3d7643117782008acfdaa14dfab28e65d9ad7f5d.zip
more fixes for network module unload (#211474)
Diffstat (limited to 'sysconfig/network-scripts/network-functions-ipv6')
-rw-r--r--sysconfig/network-scripts/network-functions-ipv62
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