summaryrefslogtreecommitdiffstats
path: root/perl-install/network
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.org>2005-04-07 16:53:19 +0000
committerOlivier Blin <oblin@mandriva.org>2005-04-07 16:53:19 +0000
commit63038ab702990256324250832624811951307d34 (patch)
treee97dbb929e13407bdceba010accf051464c4097d /perl-install/network
parentd8d5b9081e4fe9c50b761107f7d94b4ba749788a (diff)
downloaddrakx-backup-do-not-use-63038ab702990256324250832624811951307d34.tar
drakx-backup-do-not-use-63038ab702990256324250832624811951307d34.tar.gz
drakx-backup-do-not-use-63038ab702990256324250832624811951307d34.tar.bz2
drakx-backup-do-not-use-63038ab702990256324250832624811951307d34.tar.xz
drakx-backup-do-not-use-63038ab702990256324250832624811951307d34.zip
always restart slmodem, even if it was already installed
Diffstat (limited to 'perl-install/network')
-rw-r--r--perl-install/network/netconnect.pm9
1 files changed, 4 insertions, 5 deletions
diff --git a/perl-install/network/netconnect.pm b/perl-install/network/netconnect.pm
index 71f33bac4..4de95a64b 100644
--- a/perl-install/network/netconnect.pm
+++ b/perl-install/network/netconnect.pm
@@ -561,11 +561,10 @@ Take a look at http://www.linmodems.org"),
#- we may need a better agreement to use list_modules::category2modules('network/slmodem')
member($driver, list_modules::category2modules('network/slmodem')) and $type = "slmodem";
if ($type && (my $packages = $in->do_pkgs->check_kernel_module_packages("$type-kernel", if_(! -f $pkgs2path{$type}, $type)))) {
- if ($in->do_pkgs->install(@$packages)) {
- # start slmodemd when installing it (thus preventing the average user to have to restart
- # his machine in order to get a working connection):
- system("service slmodemd start") if $::isStandalone && $type eq 'slmodem';
- }
+ $in->do_pkgs->install(@$packages);
+ # start slmodemd when installing it (thus preventing the average user to have to restart
+ # his machine in order to get a working connection):
+ system("service slmodemd start") if $::isStandalone && $type eq 'slmodem';
$modem->{device} = $devices{$type} || '/dev/modem';
return "ppp_provider";
}