diff options
author | Than Ngo <than@redhat.com> | 2001-08-10 14:56:06 +0000 |
---|---|---|
committer | Than Ngo <than@redhat.com> | 2001-08-10 14:56:06 +0000 |
commit | bb136dc06679812ea53669cd9a5885ad8d3935cb (patch) | |
tree | 056aedbec6487ccacd9ff4bc29e90e85d0e4f486 /sysconfig/network-scripts/ifdown-post | |
parent | d84a44e9cdda7d731df5d4c95677c716b9db7dde (diff) | |
download | initscripts-bb136dc06679812ea53669cd9a5885ad8d3935cb.tar initscripts-bb136dc06679812ea53669cd9a5885ad8d3935cb.tar.gz initscripts-bb136dc06679812ea53669cd9a5885ad8d3935cb.tar.bz2 initscripts-bb136dc06679812ea53669cd9a5885ad8d3935cb.tar.xz initscripts-bb136dc06679812ea53669cd9a5885ad8d3935cb.zip |
* fix channel bundlingr6-14
Diffstat (limited to 'sysconfig/network-scripts/ifdown-post')
-rwxr-xr-x | sysconfig/network-scripts/ifdown-post | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/sysconfig/network-scripts/ifdown-post b/sysconfig/network-scripts/ifdown-post index b42c9a5a..db9d3f53 100755 --- a/sysconfig/network-scripts/ifdown-post +++ b/sysconfig/network-scripts/ifdown-post @@ -17,10 +17,9 @@ if [ "${DEVICETYPE}" = "ppp" -o "${DEVICETYPE}" = "ippp" ]; then cat /etc/resolv.conf.save > /etc/resolv.conf rm -f /etc/resolv.conf.save fi -fi - -if [ -f /etc/ppp/peers/$DEVICE ] ; then - rm -f /etc/ppp/peers/$DEVICE + if [ -f /etc/ppp/peers/$DEVICE ] ; then + rm -f /etc/ppp/peers/$DEVICE + fi fi # Reset the default route if this interface had a special one |