summaryrefslogtreecommitdiffstats
path: root/time_wizard/Ntp.pm
diff options
context:
space:
mode:
authorFlorent Villard <warly@mandriva.com>2003-11-05 16:57:20 +0000
committerFlorent Villard <warly@mandriva.com>2003-11-05 16:57:20 +0000
commit79843e9711f1e21823df989c9200031514e8e0fc (patch)
tree5e5efa466486b82db0b63b072e517a5e0d82f749 /time_wizard/Ntp.pm
parent77f1ad96d339974fe8da213ed6ab7e6956e7409c (diff)
downloaddrakwizard-79843e9711f1e21823df989c9200031514e8e0fc.tar
drakwizard-79843e9711f1e21823df989c9200031514e8e0fc.tar.gz
drakwizard-79843e9711f1e21823df989c9200031514e8e0fc.tar.bz2
drakwizard-79843e9711f1e21823df989c9200031514e8e0fc.tar.xz
drakwizard-79843e9711f1e21823df989c9200031514e8e0fc.zip
fix ftp anonymous mode
fix ntp wizard fix bind config
Diffstat (limited to 'time_wizard/Ntp.pm')
-rw-r--r--time_wizard/Ntp.pm4
1 files changed, 3 insertions, 1 deletions
diff --git a/time_wizard/Ntp.pm b/time_wizard/Ntp.pm
index dbc38909..0cf2cf9a 100644
--- a/time_wizard/Ntp.pm
+++ b/time_wizard/Ntp.pm
@@ -209,7 +209,9 @@ sub do_it {
standalone::explanations("Wrote /etc/ntp/step-tickers, starting services");
my @services = qw(crond atd ntpd);
foreach (@services) {
- services::stop($_)
+ if (services::is_service_running($_)) {
+ services::stop($_)
+ }
}
foreach (reverse @services) {
services::start($_)