--- /dev/null
+[Unit]
+Description=OpenNTP Daemon
+After=network.target
+Conflicts=systemd-timesyncd.service
+
+[Service]
+Type=simple
+ExecStart=/usr/sbin/ntpd -s -d
+
+[Install]
+WantedBy=multi-user.target
OPENNTPD_LICENSE = MIT-like, BSD-2c, BSD-3c
OPENNTPD_LICENSE_FILES = COPYING
+define OPENNTPD_INSTALL_INIT_SYSTEMD
+ $(INSTALL) -D -m 0644 package/openntpd/ntpd.service \
+ $(TARGET_DIR)/etc/systemd/system/ntpd.service
+ mkdir -p $(TARGET_DIR)/etc/systemd/system/multi-user.target.wants
+ ln -fs ../ntpd.service \
+ $(TARGET_DIR)/etc/systemd/system/multi-user.target.wants/ntpd.service
+endef
+
define OPENNTPD_INSTALL_INIT_SYSV
$(INSTALL) -m 0755 -D package/openntpd/S49ntp \
$(TARGET_DIR)/etc/init.d/S49ntp