Suspend script Problems
I'm using Suspend (swsusp) to suspend to hard disk. Since it isn't Suspend2, all I have to do is 'echo disk > /sys/power/state' and it suspends fine. It also recovers fine, but as usual, there are some things I need to reset like internet connection for example. I'm thinking about writing a bash script that would take care of that for me. Any ideas how I would tell the system to run it after ever suspend, so it could completely recover my previous state?
I checked ACPI's log to see if it returns a special event, but it doesn't.
Last edited by alkos333; 03-16-2007 at 11:56 AM.
|