1 COMMAND=/usr/bin/chronyc
2 CHRONY_KEY=$(awk '/^1 / { print $2; }' /etc/chrony/chrony.keys)
11 [ "$ACTION" = "ifup" -a "$INTERFACE" = "wan" ] && {
12 [ -x $COMMAND ] && [ -n "$CHRONY_KEY" ] &&{
17 [ "$ACTION" = "ifdown" -a "$INTERFACE" = "wan" ] && {
18 [ -x $COMMAND ] && [ -n "$CHRONY_KEY" ] &&{
19 chrony_control offline