http://bugzilla.novell.com/show_bug.cgi?id=619734
http://bugzilla.novell.com/show_bug.cgi?id=619734#c11
Dominik Platz changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |VERIFIED
--- Comment #11 from Dominik Platz 2010-07-06 07:00:59 UTC ---
verified and it's working.
dom@linux-qc4j:~> bash -x /usr/bin/on_ac_power
+ ret=0
+ for ps in '/sys/class/power_supply/*'
+ '[' -r /sys/class/power_supply/AC/online ']'
+ ret=1
+ read -r ps_status
+ '[' 1 = 1 ']'
+ ret=0
+ break
+ exit 0
--
Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.