Hi! "pm-powersave" isn't running the script I have on /etc/pm/power.d .
If someone can do the following test and post the results, I'd be grateful:
$ sudo nano -w /etc/pm/power.d/my_powersave and add: -------------------------------------------------------------- #!/bin/sh
echo `date` $@ >> /tmp/mypm.log --------------------------------------------------------------
Do: $ sudo chmod +x /etc/pm/power.d/my_powersave
Do: $ sudo pm-powersave true $ sudo pm-powersave false
And finally paste here the output of: $ cat /tmp/mypm.log
In my case, the file is empty and it shouldn't. Can someone confirm here if it's a pm-utils problem or just something on my computer?
Thanks in advance!
On Mon, Mar 12, 2012 at 11:57 PM, Pedro Francisco <pedrogfrancisco@gmail.com
wrote:
Hi! "pm-powersave" isn't running the script I have on /etc/pm/power.d .
If someone can do the following test and post the results, I'd be grateful:
Ok, found the issue. The file /etc/pm/power.d/* scripts were owned by me and not root...
No warnings/errors appeared, but the file was not executed.