summaryrefslogtreecommitdiffstats
path: root/perl-install/services.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2005-06-09 02:42:55 +0000
committerPascal Rigaux <pixel@mandriva.com>2005-06-09 02:42:55 +0000
commit36c5e47487a2682e9f948c2ea31f0c4ca43b9c4f (patch)
tree80f6a68469ffe3418e9c79339228f1358a94f258 /perl-install/services.pm
parent590b7c13a157fbfd3899e3d67e5b740856c46fbb (diff)
downloaddrakx-36c5e47487a2682e9f948c2ea31f0c4ca43b9c4f.tar
drakx-36c5e47487a2682e9f948c2ea31f0c4ca43b9c4f.tar.gz
drakx-36c5e47487a2682e9f948c2ea31f0c4ca43b9c4f.tar.bz2
drakx-36c5e47487a2682e9f948c2ea31f0c4ca43b9c4f.tar.xz
drakx-36c5e47487a2682e9f948c2ea31f0c4ca43b9c4f.zip
don't need prefixing with current package
Diffstat (limited to 'perl-install/services.pm')
-rw-r--r--perl-install/services.pm8
1 files changed, 4 insertions, 4 deletions
diff --git a/perl-install/services.pm b/perl-install/services.pm
index 35c0b88a6..77f9b2080 100644
--- a/perl-install/services.pm
+++ b/perl-install/services.pm
@@ -388,11 +388,11 @@ sub do_not_start_service_on_boot ($) {
sub set_status {
my ($service, $enable, $o_dont_apply) = @_;
if ($enable) {
- services::start_service_on_boot($service);
- services::restart_or_start($service) unless $o_dont_apply;
+ start_service_on_boot($service);
+ restart_or_start($service) unless $o_dont_apply;
} else {
- services::do_not_start_service_on_boot($service);
- services::stop($service) unless $o_dont_apply;
+ do_not_start_service_on_boot($service);
+ stop($service) unless $o_dont_apply;
}
}