summaryrefslogtreecommitdiffstats
path: root/perl-install/network/network.pm
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.org>2005-02-28 11:11:04 +0000
committerOlivier Blin <oblin@mandriva.org>2005-02-28 11:11:04 +0000
commit6b76f620aec8e1d0e187c7c75d5dcf0449535d02 (patch)
tree937c3a2d4cc58994300c33550cc99cd2046c8826 /perl-install/network/network.pm
parent114272f1b64a917618d3c5d276614de5fe868d9d (diff)
downloaddrakx-6b76f620aec8e1d0e187c7c75d5dcf0449535d02.tar
drakx-6b76f620aec8e1d0e187c7c75d5dcf0449535d02.tar.gz
drakx-6b76f620aec8e1d0e187c7c75d5dcf0449535d02.tar.bz2
drakx-6b76f620aec8e1d0e187c7c75d5dcf0449535d02.tar.xz
drakx-6b76f620aec8e1d0e187c7c75d5dcf0449535d02.zip
write PEERDNS for DHCP interfaces
Diffstat (limited to 'perl-install/network/network.pm')
-rw-r--r--perl-install/network/network.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/network/network.pm b/perl-install/network/network.pm
index 26979ed30..9e7fc9376 100644
--- a/perl-install/network/network.pm
+++ b/perl-install/network/network.pm
@@ -164,7 +164,7 @@ sub write_interface_conf {
setVarsInSh($file, $intf, qw(DEVICE BOOTPROTO IPADDR NETMASK NETWORK BROADCAST ONBOOT HWADDR METRIC MII_NOT_SUPPORTED TYPE USERCTL),
qw(WIRELESS_MODE WIRELESS_ESSID WIRELESS_NWID WIRELESS_FREQ WIRELESS_SENS WIRELESS_RATE WIRELESS_ENC_KEY WIRELESS_RTS WIRELESS_FRAG WIRELESS_IWCONFIG WIRELESS_IWSPY WIRELESS_IWPRIV),
- if_($intf->{BOOTPROTO} eq "dhcp", qw(DHCP_HOSTNAME NEEDHOSTNAME)),
+ if_($intf->{BOOTPROTO} eq "dhcp", qw(DHCP_HOSTNAME NEEDHOSTNAME PEERDNS)),
if_($intf->{DEVICE} =~ /^ippp\d+$/, qw(DIAL_ON_IFUP))
);
substInFile { s/^DEVICE='(`.*`)'/DEVICE=$1/g } $file; #- remove quotes if DEVICE is the result of a command