From bb0d9241fe7ef5152a03579f2306b11ab326bb5a Mon Sep 17 00:00:00 2001 From: Than Ngo Date: Fri, 10 Aug 2001 13:41:49 +0000 Subject: - don't set MSN if it' empty (it's now optional) - don't give login name as a cmdline-option (Bug #23066) - remove peer device file if ppp connection is down --- sysconfig/network-scripts/ifdown-post | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'sysconfig/network-scripts/ifdown-post') diff --git a/sysconfig/network-scripts/ifdown-post b/sysconfig/network-scripts/ifdown-post index c382ea4e..b42c9a5a 100755 --- a/sysconfig/network-scripts/ifdown-post +++ b/sysconfig/network-scripts/ifdown-post @@ -19,6 +19,10 @@ if [ "${DEVICETYPE}" = "ppp" -o "${DEVICETYPE}" = "ippp" ]; then fi fi +if [ -f /etc/ppp/peers/$DEVICE ] ; then + rm -f /etc/ppp/peers/$DEVICE +fi + # Reset the default route if this interface had a special one if ! check_default_route ; then add_default_route ${DEVICE} -- cgit v1.2.1