| 1 | #!/bin/shscip-shell filesystem . . `/bin/sh`. |
| 2 | # Copy to /etc/hotplug/usb/Argyll |
| 3 | # |
| 4 | # Argyll hotplug script. Adds the USB devices to the colord group. |
| 5 | if [scip-shell system . . `[`. "${ACTION}" = "add" ] && [scip-shell system . . `[`. -f "${DEVICE}" ] |
| 6 | then |
| 7 | chgrpscip-shell system . . chgrp. colord "${DEVICE}" |
| 8 | chmodscip-shell system . . chmod. 660 "${DEVICE}" |
| 9 | fi |