aboutsummaryrefslogtreecommitdiff
path: root/hotplug/libmpio.in
diff options
context:
space:
mode:
authorLars-Dominik Braun <PromyLOPh@lavabit.com>2009-05-09 16:07:05 +0200
committerLars-Dominik Braun <PromyLOPh@lavabit.com>2009-05-09 16:09:08 +0200
commit619beb63a1748cd9ece96260bfb2e9484e52cb67 (patch)
tree12aeffdd99d378c088f3c3aad634bb5d3e9000b4 /hotplug/libmpio.in
parent2d49dfdd370852d5033b848fd69b6112368b7d20 (diff)
downloadmpiosh-619beb63a1748cd9ece96260bfb2e9484e52cb67.tar.gz
mpiosh-619beb63a1748cd9ece96260bfb2e9484e52cb67.tar.bz2
mpiosh-619beb63a1748cd9ece96260bfb2e9484e52cb67.zip
Cleanup
Remove unused files, move mpiosh to src, ...
Diffstat (limited to 'hotplug/libmpio.in')
-rwxr-xr-xhotplug/libmpio.in20
1 files changed, 0 insertions, 20 deletions
diff --git a/hotplug/libmpio.in b/hotplug/libmpio.in
deleted file mode 100755
index 27c5370..0000000
--- a/hotplug/libmpio.in
+++ /dev/null
@@ -1,20 +0,0 @@
-#!/bin/bash
-#
-# /etc/hotplug/usb/libmpio
-#
-# Fix permissions on device file, so
-# "normal" users can access the MPIO player
-
-MPIO_USER=@MPIOUSER@
-MPIO_GROUP=@MPIOGROUP@
-MPIO_PERM=@MPIOPERM@
-
-if [ "$ACTION" = "add" ] &&
- [ "$TYPE" = "usb" ] &&
- [ -f "${DEVICE}" ]
-then
- chmod 0000 "$DEVICE"
- chown $MPIO_USER "$DEVICE"
- chgrp $MPIO_GROUP "$DEVICE"
- chmod $MPIO_PERM "$DEVICE"
-fi