1
0
mirror of https://github.com/MatMoul/g810-led.git synced 2024-12-23 09:16:11 +00:00

Corrected systemd path for ubuntu

This commit is contained in:
Carl Backstrom 2016-12-30 19:36:56 +01:00
parent 3b13f247b5
commit 525105ecb3

View File

@ -25,8 +25,8 @@ install:
@sudo cp bin/$(PROGN) /usr/bin @sudo cp bin/$(PROGN) /usr/bin
@sudo test -s /etc/$(PROGN)/profile || sudo cp /etc/$(PROGN)/samples/group_keys /etc/$(PROGN)/profile @sudo test -s /etc/$(PROGN)/profile || sudo cp /etc/$(PROGN)/samples/group_keys /etc/$(PROGN)/profile
@sudo test -s /etc/$(PROGN)/reboot || sudo cp /etc/$(PROGN)/samples/all_off /etc/$(PROGN)/reboot @sudo test -s /etc/$(PROGN)/reboot || sudo cp /etc/$(PROGN)/samples/all_off /etc/$(PROGN)/reboot
@sudo cp systemd/$(PROGN).service /usr/lib/systemd/system @sudo cp systemd/$(PROGN).service /lib/systemd/system
@sudo cp systemd/$(PROGN)-reboot.service /usr/lib/systemd/system @sudo cp systemd/$(PROGN)-reboot.service /lib/systemd/system
@sudo systemctl start $(PROGN) @sudo systemctl start $(PROGN)
@sudo systemctl enable $(PROGN) @sudo systemctl enable $(PROGN)
@sudo systemctl enable $(PROGN)-reboot @sudo systemctl enable $(PROGN)-reboot