1
0
mirror of git://projects.qi-hardware.com/openwrt-packages.git synced 2024-11-22 20:10:38 +02:00
openwrt-packages/fn-handle/files/fn-handle.init
2010-03-19 21:11:56 +08:00

16 lines
211 B
Bash
Executable File

#!/bin/sh /etc/rc.common
# Copyright (C) 2008 OpenWrt.org
START=40
DEVICE_PW="/dev/input/event0"
DEVICE_KB="/dev/input/event1"
start() {
fnkeys $DEVICE_PW &
fnkeys $DEVICE_KB &
}
stop() {
killall fnkeys
}