1
0
mirror of git://projects.qi-hardware.com/openwrt-packages.git synced 2024-07-05 05:23:15 +03: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
}