diff options
Diffstat (limited to 'fn-handle/files/fn-handle.init')
| -rwxr-xr-x | fn-handle/files/fn-handle.init | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/fn-handle/files/fn-handle.init b/fn-handle/files/fn-handle.init new file mode 100755 index 0000000..174a76c --- /dev/null +++ b/fn-handle/files/fn-handle.init @@ -0,0 +1,13 @@ +#!/bin/sh /etc/rc.common +# Copyright (C) 2008 OpenWrt.org +START=40 + +DEVICE_PW="/dev/input/event0" + +start() { + fnkeys $DEVICE_PW & +} + +stop() { + killall fnkeys +} |
