From a84618ee572933ecd2958963a4e1e3ff1fc41082 Mon Sep 17 00:00:00 2001 From: Nalin Dahyabhai Date: Mon, 31 Jan 2000 22:24:10 +0000 Subject: * sysconfig/network-scripts/ifdown-post: attempt to reset the default route in case we dropped it for PPP * src/ipcalc.1: document the "--silent" option * src/shvar.c: strtok() and other cleanups * rc.d/rc.sysinit: make symlinks for System.map and module-info automatically --- sysconfig/network-scripts/ifdown-post | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'sysconfig/network-scripts/ifdown-post') diff --git a/sysconfig/network-scripts/ifdown-post b/sysconfig/network-scripts/ifdown-post index 460b072c..49dfa5b4 100755 --- a/sysconfig/network-scripts/ifdown-post +++ b/sysconfig/network-scripts/ifdown-post @@ -8,6 +8,11 @@ cd /etc/sysconfig/network-scripts CONFIG=$1 source_config +# Reset the default route if this interface had a special one +if ! check_default_route ; then + add_default_route +fi + # Notify programs that have requested notification do_netreport -- cgit