aboutsummaryrefslogtreecommitdiffstats
path: root/sysconfig/network-scripts/ifdown
diff options
context:
space:
mode:
authorBill Nottingham <notting@redhat.com>2001-08-20 03:43:51 +0000
committerBill Nottingham <notting@redhat.com>2001-08-20 03:43:51 +0000
commit2283cf45bd0172a632dcf82ca446126c0e792b4b (patch)
tree097a1387d274de1869dce2ea1d5a841985c99a72 /sysconfig/network-scripts/ifdown
parente2628d6d5ab241c3d7bbff2d93d58992e7c57b06 (diff)
downloadinitscripts-2283cf45bd0172a632dcf82ca446126c0e792b4b.tar
initscripts-2283cf45bd0172a632dcf82ca446126c0e792b4b.tar.gz
initscripts-2283cf45bd0172a632dcf82ca446126c0e792b4b.tar.bz2
initscripts-2283cf45bd0172a632dcf82ca446126c0e792b4b.tar.xz
initscripts-2283cf45bd0172a632dcf82ca446126c0e792b4b.zip
- fix call of check_device_down in ifdown
- make loopback addresses have scope 'host', not scope 'global'. This apparently fixes pump.
Diffstat (limited to 'sysconfig/network-scripts/ifdown')
-rwxr-xr-xsysconfig/network-scripts/ifdown2
1 files changed, 1 insertions, 1 deletions
diff --git a/sysconfig/network-scripts/ifdown b/sysconfig/network-scripts/ifdown
index c8c8b590..1b439549 100755
--- a/sysconfig/network-scripts/ifdown
+++ b/sysconfig/network-scripts/ifdown
@@ -90,7 +90,7 @@ ip link set ${DEVICE} down
# wait up to 5 seconds for device to actually come down...
waited=0
-while ! check_device_down && [ "$waited" -lt 50 ] ; do
+while ! check_device_down ${DEVICE} && [ "$waited" -lt 50 ] ; do
usleep 10000
waited=$(($waited+1))
done