aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorNathan Reiner <nathan@nathanreiner.xyz>2023-03-27 21:28:17 +0200
committerNathan Reiner <nathan@nathanreiner.xyz>2023-03-27 21:28:17 +0200
commitac015d36e4ec4dafe9a0f481ed0fb8c6d6ee3f84 (patch)
tree9ec04ab7e32975fbd9812c08ec505af890133a2b /Makefile
create keyusb
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile7
1 files changed, 7 insertions, 0 deletions
diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..e701613
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,7 @@
+include config.mk
+
+install:
+ sed ./keyusbctl -e "s/\[USB_UUID\]/${USB_UUID}/g" > /usr/local/sbin/keyusbctl
+ cp ./usb-unplug.rules /etc/udev/rules.d/
+ chmod +x /usr/local/sbin/keyusbctl
+ @echo type 'udevadm control --reload' to reload the udev rules