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>
This commit is contained in:
parent
1dd088ca16
commit
b054815ee5
|
@ -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 - - - -" > \
|
||||
|
|
Loading…
Reference in a new issue