1
0
mirror of git://projects.qi-hardware.com/openwrt-packages.git synced 2024-11-18 00:26:14 +02:00
openwrt-packages/fn-handle/files/fn-handle.init

14 lines
194 B
Bash
Executable File

#!/bin/sh /etc/rc.common
# Copyright (C) 2008 OpenWrt.org
START=40
DEVICE_PW="/dev/input/event0"
start() {
start-stop-daemon -S -x /usr/bin/fnkeys -b $DEVICE_PW
}
stop() {
killall fnkeys
}