packages/lcd4linux: split into 2 -custom & -full, various fixes:
* move all original package customization to a -custom pakage, DEVEL only * enable all (not broken) drivers & plugins in a -full package (closes: #7958, #9096) * ship upstream config file, defaulting to the "Image" driver * use new service functions in initscript git-svn-id: svn://svn.openwrt.org/openwrt/packages@28951 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
File diff suppressed because it is too large
Load Diff
@ -1,18 +1,15 @@
|
||||
#!/bin/sh /etc/rc.common
|
||||
# Copyright (C) 2007 OpenWrt.org
|
||||
# Copyright (C) 2007-2011 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"
|
||||
SERVICE_USE_PID=1
|
||||
|
||||
start() {
|
||||
$SSD -S -q -p $PID_F -b -x $BIN_F -- $OPTIONS
|
||||
service_start /usr/bin/lcd4linux -o /tmp/lcd4linux.png -q
|
||||
}
|
||||
|
||||
stop() {
|
||||
$SSD -K -q -p $PID_F
|
||||
service_stop /usr/bin/lcd4linux
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user