in Jaunty acpi scripts are not called on events
Asked by
Piotr Morgwai Kotarbiński
Hi,
I added a simple script that I wanted to be called when machines resumes from suspend:
-rwxr-xr-x 1 root root 37 2009-05-25 02:49 /etc/acpi/
with the following content:
#!/bin/bash
/bin/date >>/tmp/acpi.txt
the file has permissions so everybody can write to it:
-rw-rw-rw- 1 morgwai morgwai 60 2009-05-25 03:04 /tmp/acpi.txt
and I verified that the script appends current date to /tmp/acpi.txt when called by hand, but when computer resumes from suspend nothing is appended to this file. Any idea why?
Thanks
Morg
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- Ubuntu acpid Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- Sam_
- Solved:
- Last query:
- Last reply:
To post a message you must log in.