summaryrefslogtreecommitdiffstats
path: root/perl-install/network
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.org>2005-02-28 14:44:58 +0000
committerOlivier Blin <oblin@mandriva.org>2005-02-28 14:44:58 +0000
commitf2193f6fd6a6a86c778acac3fae31ed01690e674 (patch)
tree41ad0489e409ff12f547a2e59287a5bb14df6724 /perl-install/network
parentdc81106fc15eea3ab76a00beb0e4f9484259dfbc (diff)
downloaddrakx-f2193f6fd6a6a86c778acac3fae31ed01690e674.tar
drakx-f2193f6fd6a6a86c778acac3fae31ed01690e674.tar.gz
drakx-f2193f6fd6a6a86c778acac3fae31ed01690e674.tar.bz2
drakx-f2193f6fd6a6a86c778acac3fae31ed01690e674.tar.xz
drakx-f2193f6fd6a6a86c778acac3fae31ed01690e674.zip
write DHCP_TIMEOUT for DHCP connections
Diffstat (limited to 'perl-install/network')
-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 c5b34d1d1..26f3245ac 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 PEERDNS PEERYP PEERNTPD)),
+ if_($intf->{BOOTPROTO} eq "dhcp", qw(DHCP_HOSTNAME NEEDHOSTNAME PEERDNS PEERYP PEERNTPD DHCP_TIMEOUT)),
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