diff options
author | Michael K. Johnson <johnsonm@redhat.com> | 1999-09-06 18:39:44 +0000 |
---|---|---|
committer | Michael K. Johnson <johnsonm@redhat.com> | 1999-09-06 18:39:44 +0000 |
commit | 5ae520ecf238d6c5d1db515bb3217501f93c8a13 (patch) | |
tree | ace07ae0180e057c6a7a482682ef632b4d4e2c14 /sysconfig/network-scripts/ifup-post | |
parent | c87eb6700a2bec6a36e72d5cbad6590551ffa3bb (diff) | |
download | initscripts-5ae520ecf238d6c5d1db515bb3217501f93c8a13.tar initscripts-5ae520ecf238d6c5d1db515bb3217501f93c8a13.tar.gz initscripts-5ae520ecf238d6c5d1db515bb3217501f93c8a13.tar.bz2 initscripts-5ae520ecf238d6c5d1db515bb3217501f93c8a13.tar.xz initscripts-5ae520ecf238d6c5d1db515bb3217501f93c8a13.zip |
DEFROUTE defaults on; PEERDNS documented and defaults on
Diffstat (limited to 'sysconfig/network-scripts/ifup-post')
-rwxr-xr-x | sysconfig/network-scripts/ifup-post | 2 |
1 files changed, 1 insertions, 1 deletions
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... |