aboutsummaryrefslogtreecommitdiffstats
path: root/sysconfig
diff options
context:
space:
mode:
authorFlorian La Roche <laroche@redhat.com>2000-02-21 14:55:09 +0000
committerFlorian La Roche <laroche@redhat.com>2000-02-21 14:55:09 +0000
commitf9c2e489d006c3e66e5e892c028564d23f7e8bed (patch)
tree2cf1a84e8ddbc52a8578d2fa9f2ce470ffbb7973 /sysconfig
parent52c4310585e61bc93e542981422dcd2077df4399 (diff)
downloadinitscripts-f9c2e489d006c3e66e5e892c028564d23f7e8bed.tar
initscripts-f9c2e489d006c3e66e5e892c028564d23f7e8bed.tar.gz
initscripts-f9c2e489d006c3e66e5e892c028564d23f7e8bed.tar.bz2
initscripts-f9c2e489d006c3e66e5e892c028564d23f7e8bed.tar.xz
initscripts-f9c2e489d006c3e66e5e892c028564d23f7e8bed.zip
Fix typo in ifup-post.
Diffstat (limited to 'sysconfig')
-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 6b531c45..3107bc79 100755
--- a/sysconfig/network-scripts/ifup-post
+++ b/sysconfig/network-scripts/ifup-post
@@ -28,7 +28,7 @@ if [ "$2" = "boot" -a -n "$NEEDHOSTNAME" -a "${DEVICE}" != lo -a "${DEVICETYPE}"
eval `/bin/ipcalc --silent --hostname ${IPADDR}` && set_hostname $HOSTNAME
fi
-if [ "$PEERDNS" !="no" -o "$RESOLV_MODS" != "no" ]; then
+if [ "$PEERDNS" != "no" -o "$RESOLV_MODS" != "no" ]; then
[ -n "$MS_DNS1" ] && DNS1=$MS_DNS1
[ -n "$MS_DNS2" ] && DNS2=$MS_DNS2
if [ -n "$DNS1" ] && ! grep -q "^nameserver $DNS1" /etc/resolv.conf &&