From 5ae520ecf238d6c5d1db515bb3217501f93c8a13 Mon Sep 17 00:00:00 2001 From: "Michael K. Johnson" Date: Mon, 6 Sep 1999 18:39:44 +0000 Subject: DEFROUTE defaults on; PEERDNS documented and defaults on --- sysconfig/network-scripts/ifup-post | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sysconfig/network-scripts/ifup-post') diff --git a/sysconfig/network-scripts/ifup-post b/sysconfig/network-scripts/ifup-post index cd5b0267..43b7126e 100755 --- a/sysconfig/network-scripts/ifup-post +++ b/sysconfig/network-scripts/ifup-post @@ -28,7 +28,7 @@ if [ -n "$NEEDHOSTNAME" -a "${DEVICE}" != lo -a "${DEVICETYPE}" != "ppp" -a "${D eval `/bin/ipcalc --silent --hostname ${IPADDR}` && set_hostname $HOSTNAME fi -if [ "$DEVICETYPE" = ppp -a "$PEERDNS" = yes -a -n "$DNS1" ] && +if [ "$DEVICETYPE" = ppp -a "$PEERDNS" != no -a -n "$DNS1" ] && tr=`mktemp /tmp/resolv.XXXXXX` ; then # replace only the first two nameserver lines; cannot count on awk # and do not know if sed is capable of this... -- cgit v1.2.1