Author: Nigel Cunningham Date: To: Martin Steigerwald CC: tuxonice-devel Subject: Re: [TuxOnIce-devel] user scriptlets for hibernate
Hi.
On Tue, 2008-07-08 at 09:08 +0200, Martin Steigerwald wrote: > Hi!
>
> Recently I thought about user scriptlets in hibernate... it would be nice
> to be able to store scriptlets in ~/.hibernate that do communication with
> applications that run with the own user.
>
> I had this idea first as I got a new USB soundcard which likes unloading
> of usb sound module so that it resumes nicely. Prior to that I would like
> to stop Amarok and restart it on resume to avoid any issue with Amarok /
> xine finding its sound device disappearing suddenly.
>
> What do you think?
>
> I think these should be executed before any system-related scriptlets.
It's certainly a possibility. How would you envisage the hibernate
script determining which users' home directories to check?