summaryrefslogtreecommitdiffstats
path: root/perl-install/network/netconnect.pm
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.org>2005-02-17 17:23:39 +0000
committerOlivier Blin <oblin@mandriva.org>2005-02-17 17:23:39 +0000
commitb37a8657e750d9944280930c4bacd8b62dc60dc7 (patch)
tree7be53a53a66760854e6ed5cb84507c1e057b4b54 /perl-install/network/netconnect.pm
parentf00533a1411a01fdbd09fa3d5d31c945b3dbe05e (diff)
downloaddrakx-b37a8657e750d9944280930c4bacd8b62dc60dc7.tar
drakx-b37a8657e750d9944280930c4bacd8b62dc60dc7.tar.gz
drakx-b37a8657e750d9944280930c4bacd8b62dc60dc7.tar.bz2
drakx-b37a8657e750d9944280930c4bacd8b62dc60dc7.tar.xz
drakx-b37a8657e750d9944280930c4bacd8b62dc60dc7.zip
remove unused network::netconnect::get_net_device
Diffstat (limited to 'perl-install/network/netconnect.pm')
-rw-r--r--perl-install/network/netconnect.pm14
1 files changed, 0 insertions, 14 deletions
diff --git a/perl-install/network/netconnect.pm b/perl-install/network/netconnect.pm
index e967b8428..252ace3f8 100644
--- a/perl-install/network/netconnect.pm
+++ b/perl-install/network/netconnect.pm
@@ -1522,20 +1522,6 @@ sub get_profiles() {
map { if_(m!([^/]*)/$!, $1) } glob("$::prefix/etc/netprofile/profiles/*/");
}
-sub get_net_device() {
- my $connect_file = $network::tools::connect_file;
- my $network_file = "$::prefix/etc/sysconfig/network";
- if (cat_("$::prefix$connect_file") =~ /ifup/) {
- if_(cat_($connect_file) =~ /^\s*ifup\s+(.*)/m, split(' ', $1));
- } elsif (cat_("$::prefix$connect_file") =~ /network/) {
- ${{ getVarsFromSh("$::prefix$network_file") }}{GATEWAYDEV};
- } elsif (cat_("$::prefix$connect_file") =~ /isdn/) {
- "ippp+";
- } else {
- "ppp+";
- }
-}
-
sub read_net_conf {
my ($netcnx, $netc, $intf) = @_;
my $current = { getVarsFromSh("$::prefix/etc/netprofile/current") };