summaryrefslogtreecommitdiffstats
path: root/perl-install/network/adsl.pm
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.org>2005-06-10 05:19:09 +0000
committerOlivier Blin <oblin@mandriva.org>2005-06-10 05:19:09 +0000
commit21eada7233dafc02e102373d35ec7134efdb3768 (patch)
tree66229b237579d1f2cf3edf2bdd5e56970ed101e7 /perl-install/network/adsl.pm
parentd7ebf2b4ce80988e116d4db4f67ad52f02b658ea (diff)
downloaddrakx-21eada7233dafc02e102373d35ec7134efdb3768.tar
drakx-21eada7233dafc02e102373d35ec7134efdb3768.tar.gz
drakx-21eada7233dafc02e102373d35ec7134efdb3768.tar.bz2
drakx-21eada7233dafc02e102373d35ec7134efdb3768.tar.xz
drakx-21eada7233dafc02e102373d35ec7134efdb3768.zip
use services::enable() and services::disable()
Diffstat (limited to 'perl-install/network/adsl.pm')
-rw-r--r--perl-install/network/adsl.pm4
1 files changed, 2 insertions, 2 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");