|
|
@@ -71,15 +71,15 @@
|
|
|
|
|
|
%quarterly -u @l_susr@
|
|
|
rcService ntp enable yes || exit 0
|
|
|
- if [ ".$ntp_mode" = ".quarterly" ] && sleep 30 && ntp_once
|
|
|
+ [ ".$ntp_mode" = ".quarterly" ] && sleep 30 && ntp_once
|
|
|
|
|
|
%hourly -u @l_susr@
|
|
|
rcService ntp enable yes || exit 0
|
|
|
- if [ ".$ntp_mode" = ".hourly" ] && sleep 30 && ntp_once
|
|
|
+ [ ".$ntp_mode" = ".hourly" ] && sleep 30 && ntp_once
|
|
|
|
|
|
%daily -u @l_susr@
|
|
|
rcService ntp enable yes || exit 0
|
|
|
- if [ ".$ntp_mode" = ".daily" ] && sleep 30 && ntp_once
|
|
|
+ [ ".$ntp_mode" = ".daily" ] && sleep 30 && ntp_once
|
|
|
|
|
|
# rotate logfile
|
|
|
shtool rotate -f \
|
|
|
@@ -91,9 +91,9 @@
|
|
|
|
|
|
%weekly -u @l_susr@
|
|
|
rcService ntp enable yes || exit 0
|
|
|
- if [ ".$ntp_mode" = ".weekly" ] && sleep 30 && ntp_once
|
|
|
+ [ ".$ntp_mode" = ".weekly" ] && sleep 30 && ntp_once
|
|
|
|
|
|
%monthly -u @l_susr@
|
|
|
rcService ntp enable yes || exit 0
|
|
|
- if [ ".$ntp_mode" = ".monthly" ] && sleep 30 && ntp_once
|
|
|
+ [ ".$ntp_mode" = ".monthly" ] && sleep 30 && ntp_once
|
|
|
|