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:
nico
2011-11-11 15:46:37 +00:00
parent 6ed746465c
commit acdc41b6f6
4 changed files with 345 additions and 1598 deletions

File diff suppressed because it is too large Load Diff

View File

@ -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
}