From 79843e9711f1e21823df989c9200031514e8e0fc Mon Sep 17 00:00:00 2001 From: Florent Villard Date: Wed, 5 Nov 2003 16:57:20 +0000 Subject: fix ftp anonymous mode fix ntp wizard fix bind config --- time_wizard/Ntp.pm | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'time_wizard') 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($_) -- cgit v1.2.1