summaryrefslogtreecommitdiff
path: root/app-misc/g15daemon/files/g15daemon-hotplug
diff options
context:
space:
mode:
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