aboutsummaryrefslogtreecommitdiffstats
path: root/sysconfig/network-scripts/ifup-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/ifup-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/ifup-post')
-rwxr-xr-xsysconfig/network-scripts/ifup-post2
1 files changed, 1 insertions, 1 deletions
diff --git a/sysconfig/network-scripts/ifup-post b/sysconfig/network-scripts/ifup-post
index 401d1e8c..fc91b55c 100755
--- a/sysconfig/network-scripts/ifup-post
+++ b/sysconfig/network-scripts/ifup-post
@@ -67,7 +67,7 @@ if [ "$PEERDNS" != "no" -o -n "$RESOLV_MODS" -a "$RESOLV_MODS" != "no" ]; then
# but set umask in case it doesn't exist!
oldumask=`umask`
umask 022
- cat $tr > /etc/resolv.conf
+ change_resolv_conf $tr
rm -f $tr
umask $oldumask
fi