Package: pbbuttonsd
Version: 0.6.7-1
Severity: normal
File: /etc/power/pmcs-pbbuttonsd
Tags: patch

Hi,

The log shows:
pbbuttonsd: INFO: pbbuttonsd 0.6.7: iBook/G3 PB Pismo/G4 PB Titanium (PMU 
version: 12)
pbbuttonsd: INFO: Script '/etc/power/pmcs-pbbuttonsd performance ac ' 
gestartet, aber der Exitcode ist nicht Null

I found all sources the file pmcs-config, but it isn't in $PATH
$ grep '^\. ' /etc/power/event.d/*
/etc/power/event.d/apmd-compat:. pmcs-config
/etc/power/event.d/bdflush:. pmcs-config
/etc/power/event.d/hdsetup:. pmcs-config

Posix defines: Files for '.' are searched in $PATH if the filename
doesn't contain a slash. So you must add /etc/power/ to the $PATH.

--- /tmp/pmcs-pbbuttonsd        2005-02-14 04:02:26.963001992 +0100
+++ pmcs-pbbuttonsd     2005-02-14 03:52:27.100195000 +0100
@@ -41,6 +41,7 @@
     ;;
   *)
     cd `dirname $0`
+    PATH=$PATH:$PWD
     [ -d ${1}.d ] && run-parts --arg="$1" --arg="$2" --arg="$3" ${1}.d
     run-parts --arg="$1" --arg="$2" --arg="$3" event.d
     ;;

Jörg.

-- System Information:
Debian Release: 3.1
  APT prefers unstable
  APT policy: (990, 'unstable')
Architecture: powerpc (ppc)
Kernel: Linux 2.6.9
Locale: LANG=de_DE, LC_CTYPE=de_DE (charmap=ISO-8859-1)

Versions of packages pbbuttonsd depends on:
ii  eject                  2.0.13deb-8sarge1 ejects CDs and operates CD-Changer
ii  hdparm                 5.8-1             Tune hard disk parameters for high
ii  libasound2             1.0.8-1           ALSA library
ii  libc6                  2.3.2.ds1-20      GNU C Library: Shared libraries an

-- no debconf information

Attachment: signature.asc
Description: Digital signature

Reply via email to