From b85fa22ac2335d3184688b74d5ee46f9a7cbafa8 Mon Sep 17 00:00:00 2001 From: MatMoul Date: Thu, 5 Jan 2017 00:46:30 +0100 Subject: [PATCH] Update install, uninstall in makefile --- makefile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/makefile b/makefile index 6242b0b..4b07265 100644 --- a/makefile +++ b/makefile @@ -30,6 +30,7 @@ install: @sudo test -s /etc/$(PROGN)/reboot || sudo cp /etc/$(PROGN)/samples/all_off /etc/$(PROGN)/reboot @sudo cp systemd/$(PROGN).service /lib/systemd/system @sudo cp systemd/$(PROGN)-reboot.service /lib/systemd/system + @sudo systemctl daemon-reload @sudo systemctl start $(PROGN) @sudo systemctl enable $(PROGN) @sudo systemctl enable $(PROGN)-reboot @@ -39,6 +40,7 @@ uninstall: @sudo systemctl disable $(PROGN)-reboot @sudo rm /lib/systemd/system/$(PROGN).service @sudo rm /lib/systemd/system/$(PROGN)-reboot.service + @sudo systemctl daemon-reload @sudo rm /etc/udev/rules.d/$(PROGN).rules @sudo rm /usr/bin/g410-led @sudo rm /usr/bin/g610-led