Bug 220361 - power button script acts of finding grep is ps list, not gnome-power-manager
Summary: power button script acts of finding grep is ps list, not gnome-power-manager
Keywords:
Status: CLOSED DUPLICATE of bug 215824
Alias: None
Product: Fedora
Classification: Fedora
Component: acpid
Version: 6
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Phil Knirsch
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2006-12-20 17:28 UTC by Douglas Kilpatrick
Modified: 2015-03-05 01:18 UTC (History)
1 user (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2007-05-16 13:56:28 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Douglas Kilpatrick 2006-12-20 17:28:22 UTC
Description of problem:
  Comment does not match code.  I don't think that does what you think that 
does.
  
Actual results:
 The shutdown will be run only if the ps includes "grep" in the return 
results.

Expected results:
  The shutdown will be run only if gnome-power-manager isn't in the ps list.

Additional info:
  I think you meant
action=/bin/ps 
awwux | /bin/grep -q '[g]nome-power-manager'  || /sbin/shutdown -h now

Comment 1 Douglas Kilpatrick 2006-12-20 17:32:25 UTC
Doh.  Refering to /etc/acpi/event/power.conf

Comment 2 Phil Knirsch 2007-05-16 13:56:28 UTC

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


Note You need to log in before you can comment on or make changes to this bug.