summaryrefslogtreecommitdiffstats
path: root/perl-install/network/netconnect.pm
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.org>2005-09-08 16:09:31 +0000
committerOlivier Blin <oblin@mandriva.org>2005-09-08 16:09:31 +0000
commitff3a82fd6a06d3b680b46a6077128911ae76df52 (patch)
tree9d52fd4e834746c831a667f5ab5a8cea7230e036 /perl-install/network/netconnect.pm
parentabbb6d1dedd68f81414f98ff6841d2ce9da1b4a7 (diff)
downloaddrakx-ff3a82fd6a06d3b680b46a6077128911ae76df52.tar
drakx-ff3a82fd6a06d3b680b46a6077128911ae76df52.tar.gz
drakx-ff3a82fd6a06d3b680b46a6077128911ae76df52.tar.bz2
drakx-ff3a82fd6a06d3b680b46a6077128911ae76df52.tar.xz
drakx-ff3a82fd6a06d3b680b46a6077128911ae76df52.zip
force DEVICE field write for ISDN configurations
Diffstat (limited to 'perl-install/network/netconnect.pm')
-rw-r--r--perl-install/network/netconnect.pm3
1 files changed, 2 insertions, 1 deletions
diff --git a/perl-install/network/netconnect.pm b/perl-install/network/netconnect.pm
index c5f534133..e0039e4b9 100644
--- a/perl-install/network/netconnect.pm
+++ b/perl-install/network/netconnect.pm
@@ -1249,7 +1249,8 @@ It is not necessary on most networks."),
isdn_dial_on_boot =>
{
pre => sub {
- $net->{ifcfg}{ippp0} ||= { DEVICE => "ippp0" }; # we want the ifcfg-ippp0 file to be written
+ $net->{ifcfg}{ippp0} ||= {}; # we want the ifcfg-ippp0 file to be written
+ $net->{ifcfg}{ippp0}{DEVICE} = "ippp0";
@isdn_dial_methods = ({ name => N("Automatically at boot"),
ONBOOT => 1, DIAL_ON_IFUP => 1 },
{ name => N("By using Net Applet in the system tray"),