dhcp: move systemd service file to /usr/lib
authorMike Williams <mike@mikebwilliams.com>
Fri, 20 Mar 2015 19:14:04 +0000 (15:14 -0400)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Fri, 20 Mar 2015 19:40:00 +0000 (20:40 +0100)
Signed-off-by: Mike Williams <mike@mikebwilliams.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/dhcp/dhcp.mk

index f01a5faf7c95646d36deeb1cbbe6e42834d60fe4..e6465eda8a31332c0fce4aefb2b130b0b470e789 100644 (file)
@@ -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 - - - -" > \