aboutsummaryrefslogtreecommitdiffstats
path: root/sysconfig/network-scripts/ifdown-post
diff options
context:
space:
mode:
authorJason Vas Dias <jvdias@redhat.com>2004-07-30 20:21:41 +0000
committerJason Vas Dias <jvdias@redhat.com>2004-07-30 20:21:41 +0000
commit9c17ad3d1c05a2b1503493e4fd2ec59b6681911a (patch)
tree11e7339ca82562634cad361a0c515af7f09a4cea /sysconfig/network-scripts/ifdown-post
parent136df71101699b74b33cb02f42cb26a299a03df1 (diff)
downloadinitscripts-9c17ad3d1c05a2b1503493e4fd2ec59b6681911a.tar
initscripts-9c17ad3d1c05a2b1503493e4fd2ec59b6681911a.tar.gz
initscripts-9c17ad3d1c05a2b1503493e4fd2ec59b6681911a.tar.bz2
initscripts-9c17ad3d1c05a2b1503493e4fd2ec59b6681911a.tar.xz
initscripts-9c17ad3d1c05a2b1503493e4fd2ec59b6681911a.zip
fix for bug 125712: added change_resolv_conf function to network-functions; made ipup-post and ipdown-post invoke it
Diffstat (limited to 'sysconfig/network-scripts/ifdown-post')
-rwxr-xr-xsysconfig/network-scripts/ifdown-post2
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