diff options
Diffstat (limited to 'sys-apps/hal/files/hal-0.5.7-rescan-on-resume.patch')
-rw-r--r-- | sys-apps/hal/files/hal-0.5.7-rescan-on-resume.patch | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/sys-apps/hal/files/hal-0.5.7-rescan-on-resume.patch b/sys-apps/hal/files/hal-0.5.7-rescan-on-resume.patch deleted file mode 100644 index 64fc537214b1..000000000000 --- a/sys-apps/hal/files/hal-0.5.7-rescan-on-resume.patch +++ /dev/null @@ -1,16 +0,0 @@ ---- tools/hal-system-power-hibernate 2006-04-26 19:25:40.000000000 -0500 -+++ tools/hal-system-power-hibernate 2006-04-26 19:34:00.000000000 -0500 -@@ -53,4 +53,13 @@ - fi - fi - -+# Refresh devices when resuming from a hibernate -+for type in button battery ac_adapter ; do -+ devices=$(hal-find-by-capbility --capability $type) -+ for device in $devices ; do -+ dbus-send --system --print-reply --dest=org.freedesktop.Hal $device \ -+ org.freedesktop.Hal.Device.Rescan -+ done -+done -+ - exit $RET |