I want to put resume logic in rc.resume.
I put logger statements in rc.suspend and I see those messages in /var/log/messages
I put logger statements all over rc.resume and none fire
If I invoke rc.resume as root (and pass "acpi 3" -- mapping to the undo to my acpiconf -s3 behavior on lid close)...
Hello, I'm trying to lock my notebook whenever the screen lid is closed. I tried to combine /usr/bin/lock -vpn with ACPI control, by adding the lock command to /etc/rc.resume.
ACPI sleep/resume is working fine, but when the notebook is resumed, lock is not executed, and I'm back at the shell...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.