cond() { zsv_check_route } run=( /usr/sbin/ntpd --nofork ) args=( --panicgate ) configfile=/etc/ntp.conf zsv_run_ntpd() { if [[ -n $configfile ]]; then args+=( --configfile=$configfile ) restart_files+=( $configfile ) fi zsv_generic } do_check() { zsv_check_udp '*:007B' } checkf do_check # vim: ft=zsh noet ts=4 sts=4 sw=4