summaryrefslogtreecommitdiff
path: root/usb/Argyll
diff options
context:
space:
mode:
Diffstat (limited to 'usb/Argyll')
-rw-r--r--usb/Argyll9
1 files changed, 9 insertions, 0 deletions
diff --git a/usb/Argyll b/usb/Argyll
new file mode 100644
index 0000000..b16d929
--- /dev/null
+++ b/usb/Argyll
@@ -0,0 +1,9 @@
+#!/bin/sh
+# Copy to /etc/hotplug/usb/Argyll
+#
+# Argyll hotplug script. Adds the USB devices to the plugdev group.
+if [ "${ACTION}" = "add" ] && [ -f "${DEVICE}" ]
+then
+ chgrp plugdev "${DEVICE}"
+ chmod 660 "${DEVICE}"
+fi