summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--package/openntpd/openntpd.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/package/openntpd/openntpd.mk b/package/openntpd/openntpd.mk
index 60f025ce22..41e3399e2b 100644
--- a/package/openntpd/openntpd.mk
+++ b/package/openntpd/openntpd.mk
@@ -11,9 +11,9 @@ OPENNTPD_LICENSE_FILES = COPYING
define OPENNTPD_INSTALL_INIT_SYSTEMD
$(INSTALL) -D -m 0644 package/openntpd/ntpd.service \
- $(TARGET_DIR)/etc/systemd/system/ntpd.service
+ $(TARGET_DIR)/usr/lib/systemd/system/ntpd.service
mkdir -p $(TARGET_DIR)/etc/systemd/system/multi-user.target.wants
- ln -fs ../ntpd.service \
+ ln -fs ../../../../usr/lib/systemd/system/ntpd.service \
$(TARGET_DIR)/etc/systemd/system/multi-user.target.wants/ntpd.service
endef
OpenPOWER on IntegriCloud