summaryrefslogtreecommitdiffstats
path: root/perl-install/network/isdn.pm
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.org>2005-05-31 10:01:06 +0000
committerOlivier Blin <oblin@mandriva.org>2005-05-31 10:01:06 +0000
commit23b9fd3b4319860f7e2e6eaaa4600e6155c520f0 (patch)
tree1acb1aaef24ae7c6237a110a1ea9ff8ec2a128a7 /perl-install/network/isdn.pm
parent6a4680baa3e6165e7efc63cfc5b5e16725c1faee (diff)
downloaddrakx-23b9fd3b4319860f7e2e6eaaa4600e6155c520f0.tar
drakx-23b9fd3b4319860f7e2e6eaaa4600e6155c520f0.tar.gz
drakx-23b9fd3b4319860f7e2e6eaaa4600e6155c520f0.tar.bz2
drakx-23b9fd3b4319860f7e2e6eaaa4600e6155c520f0.tar.xz
drakx-23b9fd3b4319860f7e2e6eaaa4600e6155c520f0.zip
use services::set_status
Diffstat (limited to 'perl-install/network/isdn.pm')
-rw-r--r--perl-install/network/isdn.pm9
1 files changed, 3 insertions, 6 deletions
diff --git a/perl-install/network/isdn.pm b/perl-install/network/isdn.pm
index 3fcdbd1e3..21e701bb5 100644
--- a/perl-install/network/isdn.pm
+++ b/perl-install/network/isdn.pm
@@ -50,14 +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::start_service_on_boot("capi4linux");
- services::start("capi4linux");
+ services::set_status('capi4linux', 1);
} else {
- services::stop("capi4linux");
- services::do_not_start_service_on_boot("capi4linux");
+ services::set_status('capi4linux', 0);
}
- services::start_service_on_boot("isdn4linux");
- services::start("isdn4linux");
+ services::set_status('isdn4linux', 1);
write_secret_backend($isdn->{login}, $isdn->{passwd});