#!/bin/bash

# Force ntpd if chrony isn't installed
CHRONYC=$(command -v chronyc)
if [[ -z "$CHRONYC" || ! -x "$CHRONYC" ]]; then
	alternatives --set zabbix-agent-ntp.conf /etc/zabbix/noggin/agent.d/alternatives/ntp/ntpd.conf
fi

