aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBill Nottingham <notting@redhat.com>2004-08-20 19:10:45 +0000
committerBill Nottingham <notting@redhat.com>2004-08-20 19:10:45 +0000
commitaef7e7c9b6d898d359ef151445316593ef6d31a7 (patch)
tree258511f10be3a5502d381f0c90d0fcd828811190
parent100968bcb465349b5dad29eaf798f568789e71ea (diff)
downloadinitscripts-aef7e7c9b6d898d359ef151445316593ef6d31a7.tar
initscripts-aef7e7c9b6d898d359ef151445316593ef6d31a7.tar.gz
initscripts-aef7e7c9b6d898d359ef151445316593ef6d31a7.tar.bz2
initscripts-aef7e7c9b6d898d359ef151445316593ef6d31a7.tar.xz
initscripts-aef7e7c9b6d898d359ef151445316593ef6d31a7.zip
remove wackycomment
-rwxr-xr-xsysconfig/network-scripts/ifup-post2
1 files changed, 0 insertions, 2 deletions
diff --git a/sysconfig/network-scripts/ifup-post b/sysconfig/network-scripts/ifup-post
index adbe1b13..77b678bc 100755
--- a/sysconfig/network-scripts/ifup-post
+++ b/sysconfig/network-scripts/ifup-post
@@ -20,8 +20,6 @@ if [ "$PEERDNS" != "no" -o -n "$RESOLV_MODS" -a "$RESOLV_MODS" != "no" ]; then
[ -n "$MS_DNS2" ] && DNS2=$MS_DNS2
if [ -n "$DNS1" ] && ! grep -q "^nameserver $DNS1" /etc/resolv.conf &&
tr=`mktemp /tmp/XXXXXX` ; then
- # replace only the first two nameserver lines; cannot count on awk
- # and do not know if sed is capable of this...
current_replacement="$DNS1"
next_replacement="$DNS2"
search=