summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install')
-rw-r--r--perl-install/network/adsl.pm4
-rw-r--r--perl-install/network/isdn.pm6
2 files changed, 5 insertions, 5 deletions
diff --git a/perl-install/network/adsl.pm b/perl-install/network/adsl.pm
index d7aae53cc..9da5a3f7c 100644
--- a/perl-install/network/adsl.pm
+++ b/perl-install/network/adsl.pm
@@ -310,8 +310,8 @@ user "$net->{adsl}{login}"
if ($adsl_type eq "capi") {
require network::isdn;
network::isdn::setup_capi_conf($net->{adsl}{capi_card});
- services::set_status('isdn4linux', 0);
- services::set_status('capi4linux', 1);
+ services::disable('isdn4linux');
+ services::enable('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 5c835c154..9683dc479 100644
--- a/perl-install/network/isdn.pm
+++ b/perl-install/network/isdn.pm
@@ -50,11 +50,11 @@ defaultroute
services::stop("isdn4linux"); #- to be stopped before capi is loaded
if ($isdn->{driver} eq "capidrv") {
setup_capi_conf(get_capi_card($isdn));
- services::set_status('capi4linux', 1);
+ services::enable('capi4linux');
} else {
- services::set_status('capi4linux', 0);
+ services::disable('capi4linux');
}
- services::set_status('isdn4linux', 1);
+ services::enable('isdn4linux');
write_secret_backend($isdn->{login}, $isdn->{passwd});