Package: hddtemp
Version: 0.3-beta15-34
Severity: minor
Tags: patch

Hello,

Script /etc/init.d/hddtemp wrongly checks when to kill 
(not started before) hddtemp daemon:

olimp:~# invoke-rc.d hddtemp stop
Stopping disk temperature monitoring daemon: hddtempNo /usr/sbin/hddtemp found 
running; none killed.
.

Small patch to fix it:
--- a/etc/init.d/hddtemp        2007-02-20 11:22:32.000000000 +0100
+++ b/etc/init.d/hddtemp        2007-02-20 11:26:58.000000000 +0100
@@ -73,7 +73,7 @@
        ;;
   stop)
        # master switch
-       if [ "$RUN_DAEMON" = "true" -o "$RUN_DAEMON" = "yes" -o "$SYSLOG" != 
"0" ] ; then
+       if [ "$RUN_DAEMON" = "true" -o "$RUN_DAEMON" = "yes" -o "$RUN_SYSLOG" 
!= "0" ] ; then
                log_daemon_msg "Stopping $DESC" "$NAME"
                start-stop-daemon --stop --oknodo --exec $DAEMON --retry 30
                log_end_msg $?

Regards,
Kupson

-- System Information:
Debian Release: 4.0
  APT prefers testing
  APT policy: (900, 'testing'), (800, 'unstable')
Architecture: amd64 (x86_64)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-4-xen-vserver-amd64
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)

Versions of packages hddtemp depends on:
ii  debconf [debconf-2.0]       1.5.11       Debian configuration management sy
ii  libc6                       2.3.6.ds1-11 GNU C Library: Shared libraries
ii  lsb-base                    3.1-23       Linux Standard Base 3.1 init scrip

hddtemp recommends no packages.

-- debconf information:
  hddtemp/port: 7634
  hddtemp/interface: 127.0.0.1
* hddtemp/daemon: false
* hddtemp/syslog: 0
* hddtemp/SUID_bit: false



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to