On Thu, Jun 15, 2006 at 03:29:51AM +0000, Jason Lunz wrote: > [EMAIL PROTECTED] said: > > I'm familiar with hibernate script, but I see a couple of minor issues: > > Thanks for looking at it. Here's a version that's less half-assed; the > last one was a quick search-and-replace job.
Thanks for that. I added some extra changes - finding s2disk in the path, and making it work with the new auto-detect functionality. The result is at http://svn.suspend2.net/hibernate-script/trunk/scriptlets.d/ususpend but is fairly untested at the moment. I'd appreciate it if somebody could check out and test the current subversion edition (as changes extended beyond the script itself - adding /usr/local/sbin to $PATH). svn co http://svn.suspend2.net/hibernate-script/trunk hibernate-script Just running hibernate should try suspend2 first if it exists, then uswsusp if it exists, then vanilla suspend-to-disk, then vanilla suspend-to-ram. If you're patched with suspend2, you can just do hibernate -F /etc/hibernate/ususpend.conf. Oh, and your binary has to be called s2disk and on your path somewhere :) Thanks, Bernard. _______________________________________________ Suspend-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/suspend-devel
