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

index e3ef0bb6d2e44f38b7d6dbe8869379cfc9dc5116..4e6b181467374e611f26c12bda09902c8f0e94b7 100644 (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