From: | "Tony Vroon (chainsaw)" <chainsaw@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in app-misc/g15daemon/files: 99-g15daemon.rules g15daemon-hotplug |
Date: | Mon, 08 Sep 2008 11:44:06 |
Message-Id: | E1KcfA3-0006hl-Qs@stork.gentoo.org |
1 | chainsaw 08/09/08 11:44:03 |
2 | |
3 | Added: 99-g15daemon.rules g15daemon-hotplug |
4 | Log: |
5 | Hotplug support by Tais M. Hansen <tais.hansen@×××.dk>, closes bug #236422. |
6 | (Portage version: 2.2_rc8/cvs/Linux 2.6.27-rc5-00131-g5f17cfc-dirty x86_64) |
7 | |
8 | Revision Changes Path |
9 | 1.1 app-misc/g15daemon/files/99-g15daemon.rules |
10 | |
11 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-misc/g15daemon/files/99-g15daemon.rules?rev=1.1&view=markup |
12 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-misc/g15daemon/files/99-g15daemon.rules?rev=1.1&content-type=text/plain |
13 | |
14 | Index: 99-g15daemon.rules |
15 | =================================================================== |
16 | SUBSYSTEM=="usb", ATTR{product}=="G15 Gaming Keyboard", RUN+="/usr/bin/g15daemon-hotplug" |
17 | |
18 | |
19 | |
20 | 1.1 app-misc/g15daemon/files/g15daemon-hotplug |
21 | |
22 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-misc/g15daemon/files/g15daemon-hotplug?rev=1.1&view=markup |
23 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-misc/g15daemon/files/g15daemon-hotplug?rev=1.1&content-type=text/plain |
24 | |
25 | Index: g15daemon-hotplug |
26 | =================================================================== |
27 | #!/bin/sh |
28 | |
29 | case "$ACTION" in |
30 | "add") |
31 | /etc/init.d/g15daemon restart |
32 | ;; |
33 | "remove") |
34 | /etc/init.d/g15daemon stop |
35 | ;; |
36 | *) |
37 | exit 0 |
38 | ;; |
39 | esac |