summaryrefslogtreecommitdiff
path: root/pm/sleep.d/55battery
diff options
context:
space:
mode:
authorVictor Lowther <victor.lowther@gmail.com>2008-01-29 14:46:08 -0600
committerVictor Lowther <victor.lowther@gmail.com>2008-01-30 15:52:26 -0600
commita6456ef1218721f18778b1493a19ce7f5d418a4e (patch)
tree2926953b2267469a59e598234811bbd7d4cf7454 /pm/sleep.d/55battery
parent722439bb487e90a8c82a1c58c7bf3f1883be1f26 (diff)
Deleted commented-out commands, minor quotation fixes to 55battery.
Diffstat (limited to 'pm/sleep.d/55battery')
-rwxr-xr-xpm/sleep.d/55battery8
1 files changed, 2 insertions, 6 deletions
diff --git a/pm/sleep.d/55battery b/pm/sleep.d/55battery
index 680cee4..e5f3758 100755
--- a/pm/sleep.d/55battery
+++ b/pm/sleep.d/55battery
@@ -5,13 +5,9 @@
resume_batteries()
{
for x in $(hal-find-by-capability --capability battery 2>/dev/null); do
-# hal-set-property --udi "$x" --key battery.present --bool false
-# dbus-send --print-reply --system --reply-timeout=2000 \
-# --dest=org.freedesktop.Hal $x \
-# org.freedesktop.Hal.Device.Reprobe string:$x
dbus-send --print-reply --system --reply-timeout=2000 \
- --dest=org.freedesktop.Hal $x \
- org.freedesktop.Hal.Device.Rescan string:$x
+ --dest=org.freedesktop.Hal "$x" \
+ org.freedesktop.Hal.Device.Rescan "string:$x"
done
}