File laptop-mode-1.53-fix-pm-utils-sleep-script.diff of Package laptop-mode-tools
Index: laptop-mode-tools_1.68.1/usr/lib/pm-utils/sleep.d/01laptop-mode =================================================================== --- laptop-mode-tools_1.68.1.orig/usr/lib/pm-utils/sleep.d/01laptop-mode +++ laptop-mode-tools_1.68.1/usr/lib/pm-utils/sleep.d/01laptop-mode @@ -13,7 +13,8 @@ else # Make laptop mode tools forcibly re-apply the hardware settings # that laptop mode tools applies. if [ -e /usr/sbin/laptop_mode ] ; then - /usr/sbin/laptop_mode auto force + # the "cat" is because laptop_mode seems to truncate the output file :( + /usr/sbin/laptop_mode auto force | cat fi ;; *) exit $NA




