aboutsummaryrefslogtreecommitdiffstats
path: root/sysconfig/network-scripts/ifup-ppp
diff options
context:
space:
mode:
Diffstat (limited to 'sysconfig/network-scripts/ifup-ppp')
-rwxr-xr-xsysconfig/network-scripts/ifup-ppp4
1 files changed, 2 insertions, 2 deletions
diff --git a/sysconfig/network-scripts/ifup-ppp b/sysconfig/network-scripts/ifup-ppp
index 677d84e8..3fd810f7 100755
--- a/sysconfig/network-scripts/ifup-ppp
+++ b/sysconfig/network-scripts/ifup-ppp
@@ -54,10 +54,10 @@ if [ "${ESCAPECHARS}" = yes ] ; then
elif [ "${ESCAPECHARS}" = no ] ; then
opts="$opts asyncmap 00000000"
fi
-if [ "${DEFROUTE}" = yes ] ; then
+if [ "${DEFROUTE}" != no ] ; then
opts="$opts defaultroute"
fi
-if [ "${PEERDNS}" = yes ] ; then
+if [ "${PEERDNS}" != no ] ; then
opts="$opts usepeerdns"
fi
if [ -n "${MRU}" ] ; then