From ff3a82fd6a06d3b680b46a6077128911ae76df52 Mon Sep 17 00:00:00 2001 From: Olivier Blin Date: Thu, 8 Sep 2005 16:09:31 +0000 Subject: force DEVICE field write for ISDN configurations --- perl-install/network/netconnect.pm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'perl-install/network/netconnect.pm') 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"), -- cgit v1.2.1