aboutsummaryrefslogtreecommitdiffstats
path: root/sysconfig/network-scripts/ifup-ppp
diff options
context:
space:
mode:
authorMichael K. Johnson <johnsonm@redhat.com>1999-08-04 23:52:11 +0000
committerMichael K. Johnson <johnsonm@redhat.com>1999-08-04 23:52:11 +0000
commitbc662c04ae3f3a7d441a22bb5ca57c14dd57e81e (patch)
treeb3b55fc4e4262f34f9ce4578df2291bfb80c359d /sysconfig/network-scripts/ifup-ppp
parentda1e21b54543316fb1e9e83fb6049762f0d4c611 (diff)
downloadinitscripts-bc662c04ae3f3a7d441a22bb5ca57c14dd57e81e.tar
initscripts-bc662c04ae3f3a7d441a22bb5ca57c14dd57e81e.tar.gz
initscripts-bc662c04ae3f3a7d441a22bb5ca57c14dd57e81e.tar.bz2
initscripts-bc662c04ae3f3a7d441a22bb5ca57c14dd57e81e.tar.xz
initscripts-bc662c04ae3f3a7d441a22bb5ca57c14dd57e81e.zip
take advantage of userpeerdns
Diffstat (limited to 'sysconfig/network-scripts/ifup-ppp')
-rwxr-xr-xsysconfig/network-scripts/ifup-ppp3
1 files changed, 3 insertions, 0 deletions
diff --git a/sysconfig/network-scripts/ifup-ppp b/sysconfig/network-scripts/ifup-ppp
index 1727a778..ef5b0281 100755
--- a/sysconfig/network-scripts/ifup-ppp
+++ b/sysconfig/network-scripts/ifup-ppp
@@ -57,6 +57,9 @@ fi
if [ "${DEFROUTE}" = yes ] ; then
opts="$opts defaultroute"
fi
+if [ "${PEERDNS}" = yes ] ; then
+ opts="$opts usepeerdns"
+fi
if [ -n "${MRU}" ] ; then
opts="$opts mru ${MRU}"
fi