STATEFILE="/var/state/ntp-stratum"
if [[ "${stratum}" != "" ]]; then
echo "${stratum}" > "${STATEFILE}"
fi