summaryrefslogtreecommitdiff
path: root/ledctl/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'ledctl/Makefile')
-rw-r--r--ledctl/Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/ledctl/Makefile b/ledctl/Makefile
new file mode 100644
index 0000000..2777bb8
--- /dev/null
+++ b/ledctl/Makefile
@@ -0,0 +1,5 @@
+install:
+ install -m 744 ledctl.py /usr/bin/ledctl
+ ln -sf /usr/bin/ledctl /usr/lib/systemd/system-shutdown/
+ install -m 644 systemd/led-boot.service /etc/systemd/system/led-boot.service
+ install -m 644 systemd/led-ready.service /etc/systemd/system/led-ready.service