new handling of 'ntp.conf' and 'ntp.conf-' (similar to exports)

This commit is contained in:
Tom Mortensen
2024-07-21 10:50:01 -07:00
parent 5b009dfb39
commit 7840ae6d3c

View File

@@ -26,7 +26,7 @@ ntpd_running(){
}
ntpd_build(){
cp $CONF- $CONF
[[ -f $CONF.orig ]] && cp $CONF.orig $CONF || cp $CONF $CONF.orig
echo "# Generated entries follow:" >>$CONF
echo "interface ignore wildcard" >>$CONF
if check && [[ -n $BIND ]]; then