diff options
author | Jason Vas Dias <jvdias@redhat.com> | 2004-08-03 20:00:00 +0000 |
---|---|---|
committer | Jason Vas Dias <jvdias@redhat.com> | 2004-08-03 20:00:00 +0000 |
commit | 44d54fb05e96d3b76a81e1abc41c1f5691795d64 (patch) | |
tree | a61c6138dc40c1865b368e9e66f28f37a1b2ae1c /sysconfig/network-scripts | |
parent | 731a8688301856ebba6ab5be0b1628698da6b984 (diff) | |
download | initscripts-44d54fb05e96d3b76a81e1abc41c1f5691795d64.tar initscripts-44d54fb05e96d3b76a81e1abc41c1f5691795d64.tar.gz initscripts-44d54fb05e96d3b76a81e1abc41c1f5691795d64.tar.bz2 initscripts-44d54fb05e96d3b76a81e1abc41c1f5691795d64.tar.xz initscripts-44d54fb05e96d3b76a81e1abc41c1f5691795d64.zip |
use change_resolv_conf
Diffstat (limited to 'sysconfig/network-scripts')
-rwxr-xr-x | sysconfig/network-scripts/ifdown-post | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sysconfig/network-scripts/ifdown-post b/sysconfig/network-scripts/ifdown-post index 6c244ca1..b88e5e3b 100755 --- a/sysconfig/network-scripts/ifdown-post +++ b/sysconfig/network-scripts/ifdown-post @@ -10,7 +10,7 @@ source_config if [ "${DEVICETYPE}" = "ppp" -o "${DEVICETYPE}" = "ippp" ]; then if [ -f /etc/resolv.conf.save ]; then - cat /etc/resolv.conf.save > /etc/resolv.conf + change_resolv_conf /etc/resolv.conf.save rm -f /etc/resolv.conf.save fi if [ -f /etc/ppp/peers/$DEVICE ] ; then |