diff options
author | Bill Nottingham <notting@redhat.com> | 2000-12-12 08:10:37 +0000 |
---|---|---|
committer | Bill Nottingham <notting@redhat.com> | 2000-12-12 08:10:37 +0000 |
commit | e776fdd1ea74a05c057f9d18a3bb09b3849a2c4b (patch) | |
tree | 663792ced75fdcf4984b4d9170f6d467cfb68df2 /sysconfig | |
parent | 5de1b7a730964525debb9284346d6f17b2e3ac7f (diff) | |
download | initscripts-e776fdd1ea74a05c057f9d18a3bb09b3849a2c4b.tar initscripts-e776fdd1ea74a05c057f9d18a3bb09b3849a2c4b.tar.gz initscripts-e776fdd1ea74a05c057f9d18a3bb09b3849a2c4b.tar.bz2 initscripts-e776fdd1ea74a05c057f9d18a3bb09b3849a2c4b.tar.xz initscripts-e776fdd1ea74a05c057f9d18a3bb09b3849a2c4b.zip |
honor PEERDNS=no for pump and dhcpcd too (#18619)
Diffstat (limited to 'sysconfig')
-rwxr-xr-x | sysconfig/network-scripts/ifup | 4 |
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." |