aboutsummaryrefslogtreecommitdiffstats
path: root/sysconfig/network-scripts/ifup
diff options
context:
space:
mode:
Diffstat (limited to 'sysconfig/network-scripts/ifup')
-rwxr-xr-xsysconfig/network-scripts/ifup4
1 files changed, 4 insertions, 0 deletions
diff --git a/sysconfig/network-scripts/ifup b/sysconfig/network-scripts/ifup
index 63a89fff..b232f0c1 100755
--- a/sysconfig/network-scripts/ifup
+++ b/sysconfig/network-scripts/ifup
@@ -98,6 +98,10 @@ if [ -n "${DYNCONFIG}" ]; then
PUMPARGS="${PUMPARGS} --lookup-hostname"
DHCPCDARGS="${DHCPCDARGS} -H"
fi
+ if [ "${PEERDNS}" = "no" ]; then
+ PUMPARGS="${PUMPARGS} -d"
+ DHCPDARGS="${DHCPDARGS -R"
+ fi
echo -n "Determining IP information for ${DEVICE}..."
if /sbin/pump ${PUMPARGS} -i ${DEVICE} ; then
echo " done."