1
0
mirror of git://projects.qi-hardware.com/openwrt-packages.git synced 2024-11-23 13:04:40 +02:00
openwrt-packages/fn-handle/files/fn-handle.init

14 lines
194 B
Plaintext
Raw Normal View History

#!/bin/sh /etc/rc.common
# Copyright (C) 2008 OpenWrt.org
START=40
2010-03-19 15:11:56 +02:00
DEVICE_PW="/dev/input/event0"
start() {
start-stop-daemon -S -x /usr/bin/fnkeys -b $DEVICE_PW
}
stop() {
killall fnkeys
}