bf2c89aa7a
* Update to lcd4linux trunk revision 847 * Add an simple init script and config file * Cleanup Makefile git-svn-id: svn://svn.openwrt.org/openwrt/packages@9646 3c298f89-4303-0410-b956-a3cf2f4a3e73
19 lines
296 B
Bash
19 lines
296 B
Bash
#!/bin/sh /etc/rc.common
|
|
# Copyright (C) 2007 OpenWrt.org
|
|
START=98
|
|
|
|
NAME=lcd4linux
|
|
BIN_F=/usr/bin/$NAME
|
|
PID_F=/var/run/lcd4linux.pid
|
|
SSD=start-stop-daemon
|
|
OPTIONS="-q -p $PID_F -f /etc/lcd4linux.conf"
|
|
|
|
start() {
|
|
$SSD -S -q -p $PID_F -b -x $BIN_F -- $OPTIONS
|
|
}
|
|
|
|
stop() {
|
|
$SSD -K -q -p $PID_F
|
|
}
|
|
|