Files
argyllcms/usb/Argyll
2026-08-20 20:28:40 +01:00

10 lines
225 B
Bash
Executable File

#!/bin/sh
# Copy to /etc/hotplug/usb/Argyll
#
# Argyll hotplug script. Adds the USB devices to the colord group.
if [ "${ACTION}" = "add" ] && [ -f "${DEVICE}" ]
then
chgrp colord "${DEVICE}"
chmod 660 "${DEVICE}"
fi