Bug 165822 - sys-apps/hal-0.5.7.1-r4 typo in hibernate script
Bug#: 165822 Product:  Gentoo Linux Version: 2006.1 Platform: All
OS/Version: Linux Status: RESOLVED Severity: normal Priority: P2
Resolution: FIXED Assigned To: cardoe@gentoo.org Reported By: braket@hotmail.com
Component: Core system
URL: 
Summary: sys-apps/hal-0.5.7.1-r4 typo in hibernate script
Keywords:  
Status Whiteboard: 
Opened: 2007-02-07 20:47 0000
Description:   Opened: 2007-02-07 20:47 0000
There's a typo in script /usr/share/hal/scripts/hal-system-power-hibernate that
causes hald to die after resume from hibernation.


Reproducible: Always




Patch to fix typo

--- hal-system-power-hibernate.orig     2007-02-07 13:25:54.000000000 -0700
+++ hal-system-power-hibernate  2007-02-07 13:41:15.000000000 -0700
@@ -55,7 +55,7 @@

 # Refresh devices when resuming from a hibernate
 for type in button battery ac_adapter ; do
-   devices=$(hal-find-by-capbility --capability $type)
+   devices=$(hal-find-by-capability --capability $type)
    for device in $devices ; do
       dbus-send --system --print-reply --dest=org.freedesktop.Hal $device \
                 org.freedesktop.Hal.Device.Rescan

------- Comment #1 From Jakub Moc (RETIRED) 2007-02-07 20:49:32 0000 -------

*** This bug has been marked as a duplicate of bug 141694 ***

------- Comment #2 From Doug Goldstein 2007-02-08 00:09:16 0000 -------
confirmed.

------- Comment #3 From Jakub Moc (RETIRED) 2007-02-08 04:49:12 0000 -------
(In reply to comment #2)
> confirmed.

Confirmed what? :) 

------- Comment #4 From Doug Goldstein 2007-02-13 03:16:25 0000 -------
Fixed in -r5. Thanks.

------- Comment #5 From Jakub Moc (RETIRED) 2007-02-20 09:42:24 0000 -------
*** Bug 167725 has been marked as a duplicate of this bug. ***