This simplifies the handling of log levels if we need more log information
during development.
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
PKG_NAME:=gpsd
PKG_VERSION:=3.25
-PKG_RELEASE:=2
+PKG_RELEASE:=3
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
PKG_SOURCE_URL:=@SAVANNAH/$(PKG_NAME)
PROG=/usr/sbin/gpsd
NAME=gpsd
+LOG_LEVEL="0"
+
validate_section_gpsd()
{
uci_load_validate gpsd gpsd "$1" "$2" \
[ "$listen_globally" -ne 0 ] && procd_append_param command -G
procd_append_param command -S "$port"
+ procd_append_param command -D "$LOG_LEVEL"
procd_append_param command -F /var/run/gpsd.sock
procd_append_param command "$device"
procd_set_param respawn