aboutsummaryrefslogtreecommitdiffstats
path: root/sysconfig/network-scripts/ifup-post
diff options
context:
space:
mode:
authorBill Nottingham <notting@redhat.com>2004-07-30 20:48:25 +0000
committerBill Nottingham <notting@redhat.com>2004-07-30 20:48:25 +0000
commit48ee88bf3e13f6265d71af22a5542da22aaaa1c5 (patch)
tree4b8e08c59c025d990662b3fe488bb6e85ee285a0 /sysconfig/network-scripts/ifup-post
parent9c17ad3d1c05a2b1503493e4fd2ec59b6681911a (diff)
downloadinitscripts-48ee88bf3e13f6265d71af22a5542da22aaaa1c5.tar
initscripts-48ee88bf3e13f6265d71af22a5542da22aaaa1c5.tar.gz
initscripts-48ee88bf3e13f6265d71af22a5542da22aaaa1c5.tar.bz2
initscripts-48ee88bf3e13f6265d71af22a5542da22aaaa1c5.tar.xz
initscripts-48ee88bf3e13f6265d71af22a5542da22aaaa1c5.zip
revert
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 fc91b55c..401d1e8c 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
- change_resolv_conf $tr
+ cat $tr > /etc/resolv.conf
rm -f $tr
umask $oldumask
fi