/etc/acpi/resume.d-script does not work as intended.

Tanel Rebane flagel at gmail.com
Mon Oct 29 18:05:28 UTC 2007


Hello,

I have a small script for overclocking my nvidia-based graphics card
after every instance of suspend/hibernation. This is achieved by
/etc/acpi/resume.d/99-nvclock.sh with the following content:

#!/bin/sh
if [ -x /usr/bin/nvclock ]; then
        sleep 30
        touch /home/flagel/executed
        # I have tried to pipe the output to a file, but it's empty
        /usr/bin/nvclock -n 280 -m 500 >/dev/null 2>&1
fi

However, this does not seem to work. The script is executed, because
the file /home/flagel/executed is created. The script does work as
should when executed via terminal.

Any ideas?

Thanks in advance!

Yours faithfully,
Tanel Rebane




More information about the ubuntu-users mailing list