summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.org>2004-09-03 04:53:06 +0000
committerOlivier Blin <oblin@mandriva.org>2004-09-03 04:53:06 +0000
commita392268adb3cf7d61f066db20ccfa3a98cec7a09 (patch)
treeef48884f719317b90d1cded686ec8af86a41caef /perl-install
parentbf9a12539f727e7094dc2dd238766cbfcfbd4dba (diff)
downloaddrakx-a392268adb3cf7d61f066db20ccfa3a98cec7a09.tar
drakx-a392268adb3cf7d61f066db20ccfa3a98cec7a09.tar.gz
drakx-a392268adb3cf7d61f066db20ccfa3a98cec7a09.tar.bz2
drakx-a392268adb3cf7d61f066db20ccfa3a98cec7a09.tar.xz
drakx-a392268adb3cf7d61f066db20ccfa3a98cec7a09.zip
(write_interface_conf) allow TYPE field, will be used to recognize ADSL interfaces
Diffstat (limited to 'perl-install')
-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 5cbf9144a..15201444d 100644
--- a/perl-install/network/network.pm
+++ b/perl-install/network/network.pm
@@ -161,7 +161,7 @@ sub write_interface_conf {
network::tools::convert_wep_key_for_iwconfig($intf->{WIRELESS_ENC_KEY});
}
- setVarsInSh($file, $intf, qw(DEVICE BOOTPROTO IPADDR NETMASK NETWORK BROADCAST ONBOOT HWADDR METRIC MII_NOT_SUPPORTED),
+ setVarsInSh($file, $intf, qw(DEVICE BOOTPROTO IPADDR NETMASK NETWORK BROADCAST ONBOOT HWADDR METRIC MII_NOT_SUPPORTED TYPE),
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->{DEVICE} =~ /^ippp\d+$/, qw(DIAL_ON_IFUP))