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

Merge pull request #32 from carlba/master

Corrected systemd path for ubuntu
This commit is contained in:
MatMoul 2016-12-31 00:16:41 +01:00 committed by GitHub
commit 757b6a158e

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