Blob Blame History Raw
diff -up sapconf-0.98/sapconf.than sapconf-0.98/sapconf
--- sapconf-0.98/sapconf.than	2015-06-12 10:32:02.494997255 +0200
+++ sapconf-0.98/sapconf	2015-06-12 13:59:35.498510271 +0200
@@ -686,7 +686,9 @@ function check_chronyd() {
 
 systemctl status chronyd.service > /dev/null 2>&1
 rc=$?
-if [ $rc -eq 0 ]; then
+systemctl status ntpd.service > /dev/null 2>&1
+rc1=$?
+if [ $rc -eq 0 -o $rc1 -eq 0 ]; then
         out "NTP service is running ... OK"
 else
         rec "NTP Service should be configured and started"