summaryrefslogtreecommitdiffstats
path: root/perl-install/network/network.pm
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.org>2004-07-23 12:29:12 +0000
committerOlivier Blin <oblin@mandriva.org>2004-07-23 12:29:12 +0000
commit9e0caae9c6a32cba46c827c9106f2250b7bf98dc (patch)
tree5f9eebc6f9971d0c98a28c874dbd9b003334ba43 /perl-install/network/network.pm
parent4b24483aaef1b9a134dddbb3eec82d6021e286ab (diff)
downloaddrakx-9e0caae9c6a32cba46c827c9106f2250b7bf98dc.tar
drakx-9e0caae9c6a32cba46c827c9106f2250b7bf98dc.tar.gz
drakx-9e0caae9c6a32cba46c827c9106f2250b7bf98dc.tar.bz2
drakx-9e0caae9c6a32cba46c827c9106f2250b7bf98dc.tar.xz
drakx-9e0caae9c6a32cba46c827c9106f2250b7bf98dc.zip
- introduce ONBOOT and DIAL_ON_BOOT settings for isdn connections
- write this settings with configureNetwork2, kill the old tweak in isdn.pm - use the isdn_dial_on_boot step instead of nework_on_boot in netconnect.pm
Diffstat (limited to 'perl-install/network/network.pm')
-rw-r--r--perl-install/network/network.pm3
1 files changed, 2 insertions, 1 deletions
diff --git a/perl-install/network/network.pm b/perl-install/network/network.pm
index bd40ffbcd..f75d61c9a 100644
--- a/perl-install/network/network.pm
+++ b/perl-install/network/network.pm
@@ -166,7 +166,8 @@ sub write_interface_conf {
setVarsInSh($file, $intf, qw(DEVICE BOOTPROTO IPADDR NETMASK NETWORK BROADCAST ONBOOT HWADDR MII_NOT_SUPPORTED),
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)),
+ if_($intf->{DEVICE} =~ /^ippp\d+$/, qw(DIAL_ON_BOOT))
);
log::explanations("written $intf->{DEVICE} interface configuration in $file");
}