multi: type: txt help: "Name or IP address of NTP server" update: "touch /etc/ntp.conf && \ if ! grep -q 'server.*$(@)' /etc/ntp.conf; then \ echo \"server $(@)\" >> /etc/ntp.conf && \ /usr/sbin/invoke-rc.d ntp restart; \ fi" delete: "touch /etc/ntp.conf && \ if grep -q 'server.*$(@)' /etc/ntp.conf; then \ sed -i '/server $(@)/d' /etc/ntp.conf && \ if grep -q '^server ' /etc/ntp.conf; then \ /usr/sbin/invoke-rc.d ntp restart; \ else \ /usr/sbin/invoke-rc.d ntp stop; \ fi; \ fi"