diff options
Diffstat (limited to 'perl-install/network/isdn.pm')
-rw-r--r-- | perl-install/network/isdn.pm | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/perl-install/network/isdn.pm b/perl-install/network/isdn.pm index 084ec5370..e91810aba 100644 --- a/perl-install/network/isdn.pm +++ b/perl-install/network/isdn.pm @@ -51,7 +51,7 @@ defaultroute if ($isdn->{driver} eq "capidrv") { setup_capi_conf(get_capi_card($isdn)); services::start_service_on_boot("capi4linux"); - services::restart("capi4linux"); + services::start("capi4linux"); } else { services::stop("capi4linux"); services::do_not_start_service_on_boot("capi4linux"); @@ -74,6 +74,9 @@ sub setup_capi_conf { $in->do_pkgs->install("$capi_card->{driver}-firmware"); } + #- stop capi4linux before new config is written so that it can unload the driver + services::stop("capi4linux"); + my $capi_conf; my $firmware = $capi_card->{firmware} || '-'; if ($capi_card->{driver} eq "fcclassic") { |