Package: motion
Version: 3.2.11.1-1
Severity: normal

Tue Apr  6 21:14:16 2010: Starting web server: thttpd.
Tue Apr  6 21:14:16 2010: Starting NTP server: ntpd.
Tue Apr  6 21:14:17 2010: Starting DHCP server: dhcpd3.
Tue Apr  6 21:14:19 2010: Starting motion detection daemon : motion:.

I was wondering why the extra ":" appeared after the word motion when starting 
or stopping motion. 
I think it's caused by a wrong implementation of the init-functions.
In /etc/init.d/motion set an extra variable DESC:

NAME=motion
PATH_BIN=/bin:/usr/bin:/sbin:/usr/sbin
DAEMON=/usr/bin/motion
PIDFILE=/var/run/$NAME.pid
DEFAULTS=/etc/default/$NAME
DESC="motion detection daemon"

Edit log_daemon_msg "Starting motion detection daemon : $NAME" 
and log_daemon_msg "Stopping motion detection daemon: $NAME" into:

log_daemon_msg "Starting $DESC" "$NAME"
log_daemon_msg "Stopping $DESC" "$NAME"

After starting motion you will see:

Starting motion detection daemon: motion.

Best regards,
Rene van der Helm


-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (500, 'testing'), (500, 'stable')
Architecture: i386 (i686)

Kernel: Linux 2.6.32-3-686 (SMP w/2 CPU cores)
Locale: lang=nl...@euro, lc_ctype=nl...@euro (charmap=ISO-8859-15)
Shell: /bin/sh linked to /bin/bash

Versions of packages motion depends on:
ii  adduser                       3.112      add and remove users and groups
ii  debconf [debconf-2.0]         1.5.32     Debian configuration management sy
ii  libavcodec52                  4:0.5.1-3  ffmpeg codec library
ii  libavformat52                 4:0.5.1-3  ffmpeg file format library
ii  libavutil49                   4:0.5.1-3  ffmpeg utility library
ii  libc6                         2.10.2-6   Embedded GNU C Library: Shared lib
ii  libjpeg62                     6b-16.1    The Independent JPEG Group's JPEG 
ii  libmysqlclient16              5.1.45-1   MySQL database client library
ii  libpq5                        8.4.3-1    PostgreSQL C client library

Versions of packages motion recommends:
pn  ffmpeg                        <none>     (no description available)

Versions of packages motion suggests:
pn  mysql-client                  <none>     (no description available)
pn  postgresql-client             <none>     (no description available)

-- Configuration Files:
/etc/default/motion changed [not included]
/etc/motion/motion.conf changed [not included]
/etc/motion/thread1.conf changed [not included]
/etc/motion/thread2.conf changed [not included]
/etc/motion/thread3.conf changed [not included]
/etc/motion/thread4.conf changed [not included]

-- debconf information excluded



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to