irqbalance: 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:
Mike Williams 2015-03-20 15:13:58 -04:00 committed by Thomas Petazzoni
parent 40f0d87374
commit 2702ac5016

View File

@ -26,9 +26,9 @@ endef
define IRQBALANCE_INSTALL_INIT_SYSTEMD
$(INSTALL) -D -m 644 package/irqbalance/irqbalance.service \
$(TARGET_DIR)/etc/systemd/system/irqbalance.service
$(TARGET_DIR)/usr/lib/systemd/system/irqbalance.service
mkdir -p $(TARGET_DIR)/etc/systemd/system/multi-user.target.wants
ln -fs ../irqbalance.service \
ln -fs ../../../../usr/lib/systemd/system/irqbalance.service \
$(TARGET_DIR)/etc/systemd/system/multi-user.target.wants/irqbalance.service
endef