diff options
author | Than Ngo <than@redhat.com> | 2001-08-10 13:41:49 +0000 |
---|---|---|
committer | Than Ngo <than@redhat.com> | 2001-08-10 13:41:49 +0000 |
commit | bb0d9241fe7ef5152a03579f2306b11ab326bb5a (patch) | |
tree | 0e03e299a96c528d872111a4221a51f97ae24d43 /sysconfig/network-scripts/ifdown-post | |
parent | 82a38bdb71758de01d0905c726b2df7e43077aae (diff) | |
download | initscripts-bb0d9241fe7ef5152a03579f2306b11ab326bb5a.tar initscripts-bb0d9241fe7ef5152a03579f2306b11ab326bb5a.tar.gz initscripts-bb0d9241fe7ef5152a03579f2306b11ab326bb5a.tar.bz2 initscripts-bb0d9241fe7ef5152a03579f2306b11ab326bb5a.tar.xz initscripts-bb0d9241fe7ef5152a03579f2306b11ab326bb5a.zip |
- 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
Diffstat (limited to 'sysconfig/network-scripts/ifdown-post')
-rwxr-xr-x | sysconfig/network-scripts/ifdown-post | 4 |
1 files changed, 4 insertions, 0 deletions
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} |