aboutsummaryrefslogtreecommitdiffstats
path: root/sysconfig/network-scripts/ifdown-post
diff options
context:
space:
mode:
authorPreston Brown <pbrown@redhat.com>2001-05-11 16:35:32 +0000
committerPreston Brown <pbrown@redhat.com>2001-05-11 16:35:32 +0000
commit1b005089008a7bcd305c40d07ec5b30df7533a3d (patch)
tree317c9cadaa20a2a7f4141cdd3a17f229e7e471f2 /sysconfig/network-scripts/ifdown-post
parenteb78e9a04105a9787dc24b55ea9e98b50288f2d3 (diff)
downloadinitscripts-1b005089008a7bcd305c40d07ec5b30df7533a3d.tar
initscripts-1b005089008a7bcd305c40d07ec5b30df7533a3d.tar.gz
initscripts-1b005089008a7bcd305c40d07ec5b30df7533a3d.tar.bz2
initscripts-1b005089008a7bcd305c40d07ec5b30df7533a3d.tar.xz
initscripts-1b005089008a7bcd305c40d07ec5b30df7533a3d.zip
add_default_route now takes a device as an argument
Diffstat (limited to 'sysconfig/network-scripts/ifdown-post')
-rwxr-xr-xsysconfig/network-scripts/ifdown-post2
1 files changed, 1 insertions, 1 deletions
diff --git a/sysconfig/network-scripts/ifdown-post b/sysconfig/network-scripts/ifdown-post
index 06d02a17..c382ea4e 100755
--- a/sysconfig/network-scripts/ifdown-post
+++ b/sysconfig/network-scripts/ifdown-post
@@ -21,7 +21,7 @@ fi
# Reset the default route if this interface had a special one
if ! check_default_route ; then
- add_default_route
+ add_default_route ${DEVICE}
fi
# Notify programs that have requested notification