Re: <GNOME> Alter shut down behaviour



On Apr 28, 5:24 pm, Bob Hauck <postmas...@xxxxxxxxxxxxxxxxxxxxx>
wrote:
On Mon, 28 Apr 2008 07:47:10 -0700 (PDT), dirk.debec...@xxxxxxxxx

<dirk.debec...@xxxxxxxxx> wrote:
I would like to execute a custom piece of code when my system gets
shut down or restarted.

On Debian, the scripts is /etc/rc0.d/ are run on shutdown. Most distros
should have a similar mechanism.

--
-| Bob Hauck
-|http://www.haucks.org/

Meanwhile, I am using debain. Meanwhile, I found that I can put it in
the following gdm file:
/etc/gdm/PostSession/Default
Thanks for the replies,

Dirk
.