diff options
author | Olivier Blin <oblin@mandriva.org> | 2005-06-10 05:19:09 +0000 |
---|---|---|
committer | Olivier Blin <oblin@mandriva.org> | 2005-06-10 05:19:09 +0000 |
commit | 21eada7233dafc02e102373d35ec7134efdb3768 (patch) | |
tree | 66229b237579d1f2cf3edf2bdd5e56970ed101e7 /perl-install/network/isdn.pm | |
parent | d7ebf2b4ce80988e116d4db4f67ad52f02b658ea (diff) | |
download | drakx-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/isdn.pm')
-rw-r--r-- | perl-install/network/isdn.pm | 6 |
1 files changed, 3 insertions, 3 deletions
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}); |