Don't forget to protect against dangerously crafted variables. Hugs, RUi On Mon, 2003-10-20 at 09:40, Sean Atkinson wrote: > I've just been playing with a wrapper to try and allow an arbitrary > clean up script to run after gnome-session without having to hack the > code (and then wait for a submitted patch to be approved and > released...). Unfortunately to do the Gnome specific magic I want (e.g. > killev, gconfd-2 --shutdown) it seems some of gnome-session's > environment is needed (presumably $SESSION_MANAGER). Therefore I > suppose I really need this script to be invoked from gnome-session > itself. > > We could just add some file (e.g. /usr/bin/gnome-session-logout) to be > tested and called on exit. Are there any thoughts on moving the Red Hat > reboot/poweroff code in there too? I guess the tests for reboot and > halt buttons need to stay in code. Perhaps just pass the requested > executable path as an argument? > > Cheers, > > Sean. -- + No matter how much you do, you never do enough -- unknown + Whatever you do will be insignificant, | but it is very important that you do it -- Gandhi + So let's do it...? Please AVOID sending me WORD, EXCEL or POWERPOINT attachments. See http://www.fsf.org/philosophy/no-word-attachments.html
Attachment:
signature.asc
Description: This is a digitally signed message part