rc.resume and rc.suspend not executed on 6.2-RELEASE with acpi
nate at root.org
Sun Dec 30 10:50:15 PST 2007
Ede Ratzefick wrote:
> on my 6.2-RELEASE with acpi runnning, the script /etc/rc.suspend is not executed when going to S3 and also the /etc/rc.resume when waking up. Filepermissions are 755. Any ideas?
> BTW: Who's invoking these scripts? I saw it in apmd.conf but as I use acpi instead of apm this should not be relevant.
If you're using the apm -z command or zzz, they will be executed. If
you use the physical sleep button, they will not. Fixing this required
some API changes as the kernel can't run usermode scripts directly and
the button is handled by a kernel driver.
If you try 7.0 or -current, you should find this works for you.
More information about the freebsd-questions