Hi,

I think this isn't a splashy bug.

IMO, the bug seems to be with the follwing line in the acpid init script.

ACPID="/usr/sbin/acpid"


Here's whats happening with the above line as it is:

+ pidof acpid
+ acpi_pid=6441
+ [ ! -z 6441 ]
+ [ -x /etc/init.d/acpid ]
+ invoke-rc.d acpid force-reload
Reloading ACPI services...No /usr/sbin/acpid found running; none killed.
invoke-rc.d: initscript acpid, action "force-reload" failed.
+ true
+ pidof apmd
+ apm_pid=
r...@champaran:/var/tmp/Debian/pytagsfs$ pidof acpid
6441


And then, I change the line to:

ACPID="/usr/sbin/acpid"

r...@champaran:/var/tmp/Debian/pytagsfs$ sudo vim /etc/init.d/acpid
r...@champaran:/var/tmp/Debian/pytagsfs$ pidof acpid
6441

And bingo, it works.

+ pidof acpid
+ acpi_pid=6441
+ [ ! -z 6441 ]
+ [ -x /etc/init.d/acpid ]
+ invoke-rc.d acpid force-reload
+ pidof apmd
+ apm_pid=


Here's the code:

case "$1" in
  configure)
    acpi_pid=`pidof acpid`
    if [ ! -z $acpi_pid ]; then
      if [ -x /etc/init.d/acpid ]; then
        invoke-rc.d acpid force-reload || true
      fi                                      
    fi                                        



PS: On the machine, where I faced the issue (and have gathered these test 
results from), does not have splashy installed.


Ritesh
-- 
Ritesh Raj Sarraf
RESEARCHUT - http://www.researchut.com
"Necessity is the mother of invention."

Attachment: signature.asc
Description: This is a digitally signed message part.

Reply via email to