aboutsummaryrefslogtreecommitdiff
path: root/package/dhcp/dhcp.mk
diff options
context:
space:
mode:
authorGravatar Mike Williams <mike@mikebwilliams.com>2015-03-20 15:14:04 -0400
committerGravatar Thomas Petazzoni <thomas.petazzoni@free-electrons.com>2015-03-20 20:40:00 +0100
commitb054815ee5fd023d7123f35633688eb56c9514d9 (patch)
tree52ec9650408b2adbc727af5fa575a0be0366aef9 /package/dhcp/dhcp.mk
parent1dd088ca16f4daacad33b8e7c218dc9055c47c97 (diff)
downloadbuildroot-b054815ee5fd023d7123f35633688eb56c9514d9.tar.gz
buildroot-b054815ee5fd023d7123f35633688eb56c9514d9.tar.bz2
dhcp: move systemd service file to /usr/lib
Signed-off-by: Mike Williams <mike@mikebwilliams.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/dhcp/dhcp.mk')
-rw-r--r--package/dhcp/dhcp.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/package/dhcp/dhcp.mk b/package/dhcp/dhcp.mk
index f01a5faf7c..e6465eda8a 100644
--- a/package/dhcp/dhcp.mk
+++ b/package/dhcp/dhcp.mk
@@ -78,11 +78,11 @@ endef
ifeq ($(BR2_PACKAGE_DHCP_SERVER),y)
define DHCP_INSTALL_INIT_SYSTEMD
$(INSTALL) -D -m 644 package/dhcp/dhcpd.service \
- $(TARGET_DIR)/lib/systemd/system/dhcpd.service
+ $(TARGET_DIR)/usr/lib/systemd/system/dhcpd.service
mkdir -p $(TARGET_DIR)/etc/systemd/system/multi-user.target.wants
- ln -sf ../../../../lib/systemd/system/dhcpd.service \
+ ln -sf ../../../../usr/lib/systemd/system/dhcpd.service \
$(TARGET_DIR)/etc/systemd/system/multi-user.target.wants/dhcpd.service
echo "d /var/lib/dhcp 0755 - - - -" > \