View previous topic :: View next topic |
Author |
Message |
deltamalloc Apprentice
Joined: 18 Jan 2013 Posts: 279
|
Posted: Sat Oct 03, 2015 9:29 pm Post subject: Run script on wakeup |
|
|
I have two Gentoo systems, both with a script in /etc/pm/sleep.d, this script executes perfectly fine on one system, but fails to execute on the other.
Both are set as +x and both do the exact same thing. For testing purposes I've reduced the script to simply:
Code: |
#!/bin/sh
case "${1}" in
resume|thaw)
echo "test" >> /var/log/test.log
;;
esac
|
I expect this to execute when the system resumes from sleep mode. This is what happens on one system, on the other system, nothing happens. Both run the same kernel.
Maybe I'm missing something that I forgot to emerge? But what? |
|
Back to top |
|
|
Thistled Guru
Joined: 06 Jan 2011 Posts: 572 Location: Scotland
|
Posted: Wed Nov 25, 2015 12:29 am Post subject: |
|
|
This might sound a little crazy, but are the appropriate power management settings enabled in BIOS? _________________ Whatever you do, do it properly! |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|