2 server=$(nvram get ntp_server)
5 ps x | grep '[n]tpclient' >&- || {
6 route -n 2>&- | awk '$1 == "0.0.0.0"' >&- && /usr/sbin/ntpclient -c 1 -s -h ${server:-pool.ntp.org} &
10 route -n 2>&- | awk '$1 == "0.0.0.0"' >&- || killall ntpclient 2>&- >&- ;;