aboutsummaryrefslogtreecommitdiffstats
path: root/hotplug/phidgets
diff options
context:
space:
mode:
authorJonathan McCrohan <jmccrohan@gmail.com>2012-04-14 12:56:48 +0100
committerJonathan McCrohan <jmccrohan@gmail.com>2012-04-14 12:56:48 +0100
commit0b624384cd52be20e61284551d832b499d7b7707 (patch)
tree6f95a4bbef47abc9720b96c0722e8f632aef228a /hotplug/phidgets
downloadlibphidget21-upstream/2.1.8.20120216.tar.gz
Imported Upstream version 2.1.8.20120216upstream/2.1.8.20120216
Diffstat (limited to 'hotplug/phidgets')
-rw-r--r--hotplug/phidgets7
1 files changed, 7 insertions, 0 deletions
diff --git a/hotplug/phidgets b/hotplug/phidgets
new file mode 100644
index 0000000..f9fbb48
--- /dev/null
+++ b/hotplug/phidgets
@@ -0,0 +1,7 @@
+#!/bin/bash
+
+if [ "$ACTION" = "add" ] && [ -f "$DEVICE" ]
+then
+ chmod 666 "$DEVICE"
+fi
+