summaryrefslogtreecommitdiffstats
path: root/perl-install/network/netconnect.pm
diff options
context:
space:
mode:
authorFlorin Grad <florin@mandriva.com>2003-02-21 11:00:53 +0000
committerFlorin Grad <florin@mandriva.com>2003-02-21 11:00:53 +0000
commit809560885dd6a8a520860a773f7561c4d75cd950 (patch)
treeb30f8cada7d9170d406ad60fdff357bc04ad649c /perl-install/network/netconnect.pm
parenta734794f3b6dec19fc6bd824c143d30497776b8d (diff)
downloaddrakx-809560885dd6a8a520860a773f7561c4d75cd950.tar
drakx-809560885dd6a8a520860a773f7561c4d75cd950.tar.gz
drakx-809560885dd6a8a520860a773f7561c4d75cd950.tar.bz2
drakx-809560885dd6a8a520860a773f7561c4d75cd950.tar.xz
drakx-809560885dd6a8a520860a773f7561c4d75cd950.zip
add isdn check in get_net_device
Diffstat (limited to 'perl-install/network/netconnect.pm')
-rw-r--r--perl-install/network/netconnect.pm2
1 files changed, 2 insertions, 0 deletions
diff --git a/perl-install/network/netconnect.pm b/perl-install/network/netconnect.pm
index d7820e854..698ff49d5 100644
--- a/perl-install/network/netconnect.pm
+++ b/perl-install/network/netconnect.pm
@@ -469,6 +469,8 @@ sub get_net_device {
my $network_file = "/etc/sysconfig/network";
if (cat_("$prefix$connect_file") =~ /network/) {
${{ getVarsFromSh("$prefix$network_file") }}{GATEWAYDEV};
+ } elsif (cat_("$prefix$connect_file") =~ /isdn/) {
+ "ippp+";
} else {
"ppp+";
};