Files
LithiumCMS/Argyll_V3.5.0/usb/Argyll

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