Package: lcd4linux
Version: 0.10.0+cvs20060825-1
Severity: wishlist
Tags: patch

Hello.

Attached is a patch to /etc/init.d/lcd4linux
which allows the administrator to
put lcd4linux arguments into /etc/default/lcd4linux.

(I found the splash screen annoying, this allows
it to be turned off.)

Apply patch with:

 cd /etc/init.d
 patch < lcd4linux.patch

Also attached is a sample /etc/default/lcd4linux file.

(Patch is actually against svn version 899 of lcd4linux,
but will apply to etch.)

Thank you.

-- System Information:
Debian Release: 4.0
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-6-686
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)

Versions of packages lcd4linux depends on:
ii  libc6                  2.3.6.ds1-13etch7 GNU C Library: Shared libraries
ii  libgd2-noxpm           2.0.33-5.2etch1   GD Graphics Library version 2 (wit
ii  libmpd0                0.12.0-2          High-level client library for acce
ii  libmysqlclient15off    5.0.32-7etch8     mysql database client library
ii  libncurses5            5.5-5             Shared libraries for terminal hand
ii  libusb-0.1-4           2:0.1.12-5        userspace USB programming library
ii  libx11-6               2:1.0.3-7         X11 client-side library
ii  python2.4              2.4.4-3+etch1     An interactive high-level object-o

lcd4linux recommends no packages.

-- no debconf information
--- /tmp/lcd4linux      2008-11-20 16:28:49.000000000 -0600
+++ lcd4linux   2008-11-20 16:23:59.000000000 -0600
@@ -20,6 +20,9 @@
 test -x $DAEMON || exit 0
 test -f /etc/lcd4linux.conf || exit 0
 
+test -f /etc/default/lcd4linux && . /etc/default/lcd4linux
+DAEMON_OPTS="$ARGS"
+
 set -e
 
 case "$1" in
# Aguments passed to lcd4linux.

# No splash screens on startup or shutdown.
ARGS='-q'

Reply via email to