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

Fix gpro and uninstall target

GPRO udev rule needs to use the /etc/g810-led/profile path like
the others.

Removed uninstallation of g810-led.service that is not being installed
in setup.

Signed-off-by: Lauri Leukkunen <lauri@rahina.org>
This commit is contained in:
Lauri Leukkunen 2017-05-14 09:46:34 +03:00
parent a77afe92f4
commit 3f40566063
2 changed files with 1 additions and 3 deletions

View File

@ -97,9 +97,7 @@ uninstall-dev:
uninstall: uninstall:
@test -s /usr/bin/systemd-run && \ @test -s /usr/bin/systemd-run && \
systemctl disable $(PROGN) && \
systemctl disable $(PROGN)-reboot && \ systemctl disable $(PROGN)-reboot && \
rm $(SYSTEMDDIR)/system/$(PROGN).service && \
rm $(SYSTEMDDIR)/system/$(PROGN)-reboot.service && \ rm $(SYSTEMDDIR)/system/$(PROGN)-reboot.service && \
systemctl daemon-reload && \ systemctl daemon-reload && \
rm -R /etc/$(PROGN) rm -R /etc/$(PROGN)

View File

@ -6,4 +6,4 @@ ACTION=="add", SUBSYSTEMS=="usb", ATTRS{idVendor}=="046d", ATTRS{idProduct}=="c3
ACTION=="add", SUBSYSTEMS=="usb", ATTRS{idVendor}=="046d", ATTRS{idProduct}=="c337", MODE="666" RUN+="/usr/bin/g810-led -p /etc/g810-led/profile" ACTION=="add", SUBSYSTEMS=="usb", ATTRS{idVendor}=="046d", ATTRS{idProduct}=="c337", MODE="666" RUN+="/usr/bin/g810-led -p /etc/g810-led/profile"
ACTION=="add", SUBSYSTEMS=="usb", ATTRS{idVendor}=="046d", ATTRS{idProduct}=="c32b", MODE="666" RUN+="/usr/bin/g910-led -p /etc/g810-led/profile" ACTION=="add", SUBSYSTEMS=="usb", ATTRS{idVendor}=="046d", ATTRS{idProduct}=="c32b", MODE="666" RUN+="/usr/bin/g910-led -p /etc/g810-led/profile"
ACTION=="add", SUBSYSTEMS=="usb", ATTRS{idVendor}=="046d", ATTRS{idProduct}=="c335", MODE="666" RUN+="/usr/bin/g910-led -p /etc/g810-led/profile" ACTION=="add", SUBSYSTEMS=="usb", ATTRS{idVendor}=="046d", ATTRS{idProduct}=="c335", MODE="666" RUN+="/usr/bin/g910-led -p /etc/g810-led/profile"
ACTION=="add", SUBSYSTEMS=="usb", ATTRS{idVendor}=="046d", ATTRS{idProduct}=="c339", MODE="666" RUN+="/usr/bin/g810-led -p /etc/gpro-led/profile" ACTION=="add", SUBSYSTEMS=="usb", ATTRS{idVendor}=="046d", ATTRS{idProduct}=="c339", MODE="666" RUN+="/usr/bin/gpro-led -p /etc/g810-led/profile"