diff options
Diffstat (limited to 'perl-install/network')
-rw-r--r-- | perl-install/network/adsl.pm | 2 | ||||
-rw-r--r-- | perl-install/network/isdn.pm | 5 |
2 files changed, 5 insertions, 2 deletions
diff --git a/perl-install/network/adsl.pm b/perl-install/network/adsl.pm index 3c74ff532..c840cccb2 100644 --- a/perl-install/network/adsl.pm +++ b/perl-install/network/adsl.pm @@ -368,7 +368,7 @@ METRIC=$metric services::stop("isdn4linux"); services::do_not_start_service_on_boot("isdn4linux"); services::start_service_on_boot("capi4linux"); - services::restart("capi4linux"); + services::start("capi4linux"); #- install and run drdsl for dsl connections, once capi driver is loaded $in->do_pkgs->ensure_is_installed_if_available("drdsl", "/usr/sbin/drdsl"); 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") { |