summaryrefslogtreecommitdiffstats
path: root/perl-install/network/network.pm
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.org>2005-02-28 13:10:15 +0000
committerOlivier Blin <oblin@mandriva.org>2005-02-28 13:10:15 +0000
commit955d688a681a17c788b7660736aac104268cfac6 (patch)
tree7400b78882e2acb85d3664cba31e209259df1179 /perl-install/network/network.pm
parente6336565c6fd9e0f9213010714cbd44ce8916e5f (diff)
downloaddrakx-955d688a681a17c788b7660736aac104268cfac6.tar
drakx-955d688a681a17c788b7660736aac104268cfac6.tar.gz
drakx-955d688a681a17c788b7660736aac104268cfac6.tar.bz2
drakx-955d688a681a17c788b7660736aac104268cfac6.tar.xz
drakx-955d688a681a17c788b7660736aac104268cfac6.zip
write PEERYP and PEERNTPD for DHCP connections
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 9e7fc9376..c5b34d1d1 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)),
+ if_($intf->{BOOTPROTO} eq "dhcp", qw(DHCP_HOSTNAME NEEDHOSTNAME PEERDNS PEERYP PEERNTPD)),
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