summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.org>2004-08-09 07:59:32 +0000
committerOlivier Blin <oblin@mandriva.org>2004-08-09 07:59:32 +0000
commitb9b785af8651542704ddf97d0dde44f0c11a478c (patch)
tree8cfdaf64010978b67411e739779720a91fa3cf24
parent5d951af0bf10220411c16fc89d8c2c92224f266b (diff)
downloaddrakx-b9b785af8651542704ddf97d0dde44f0c11a478c.tar
drakx-b9b785af8651542704ddf97d0dde44f0c11a478c.tar.gz
drakx-b9b785af8651542704ddf97d0dde44f0c11a478c.tar.bz2
drakx-b9b785af8651542704ddf97d0dde44f0c11a478c.tar.xz
drakx-b9b785af8651542704ddf97d0dde44f0c11a478c.zip
in netconnect::(start|stop)_internet, use (connect|disconnect)_backend
-rw-r--r--perl-install/network/netconnect.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/perl-install/network/netconnect.pm b/perl-install/network/netconnect.pm
index d3bd7f40f..20ad6e115 100644
--- a/perl-install/network/netconnect.pm
+++ b/perl-install/network/netconnect.pm
@@ -1423,13 +1423,13 @@ sub start_internet {
init_globals($o);
#- give a chance for module to be loaded using kernel-BOOT modules...
$::isStandalone or modules::load_category($o->{modules_conf}, 'network/main|gigabit|usb');
- run_program::rooted($::prefix, $network::tools::connect_file);
+ connect_backend($o->{netc});
}
sub stop_internet {
my ($o) = @_;
init_globals($o);
- run_program::rooted($::prefix, $network::tools::disconnect_file);
+ disconnect_backend($o->{netc});
}
1;