summaryrefslogtreecommitdiff
path: root/app-misc/g15daemon/files/g15daemon-hotplug
diff options
context:
space:
mode:
authorGluzskiy Alexandr <sss123next@list.ru>2010-09-16 16:10:41 +0300
committerGluzskiy Alexandr <sss123next@list.ru>2010-09-16 16:10:41 +0300
commitfc0cde0e2a18d234bcea5b396ff61761cbc6560c (patch)
treecdd2214d8d449bd711bb2490f1571bfb38e03e11 /app-misc/g15daemon/files/g15daemon-hotplug
parent5765bac9095a12ee28525fec1036ad926827b93b (diff)
quick and dirty ebuilds for my new keyboard (cource live from source repo)
Diffstat (limited to 'app-misc/g15daemon/files/g15daemon-hotplug')
-rw-r--r--app-misc/g15daemon/files/g15daemon-hotplug13
1 files changed, 13 insertions, 0 deletions
diff --git a/app-misc/g15daemon/files/g15daemon-hotplug b/app-misc/g15daemon/files/g15daemon-hotplug
new file mode 100644
index 0000000..1e20761
--- /dev/null
+++ b/app-misc/g15daemon/files/g15daemon-hotplug
@@ -0,0 +1,13 @@
+#!/bin/sh
+
+case "$ACTION" in
+ "add")
+ /etc/init.d/g15daemon restart
+ ;;
+ "remove")
+ /etc/init.d/g15daemon stop
+ ;;
+ *)
+ exit 0
+ ;;
+esac