diff options
| author | Nathan Reiner <nathan@nathanreiner.xyz> | 2023-03-27 21:28:17 +0200 |
|---|---|---|
| committer | Nathan Reiner <nathan@nathanreiner.xyz> | 2023-03-27 21:28:17 +0200 |
| commit | ac015d36e4ec4dafe9a0f481ed0fb8c6d6ee3f84 (patch) | |
| tree | 9ec04ab7e32975fbd9812c08ec505af890133a2b /Makefile | |
create keyusb
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 7 |
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 |