Run Script on GDM Logout?
OS: Ubuntu 7.10
Hello,
I am looking for a way to run an rsync backup script when a user logs out of gnome. Is it possible?
I've searched the web and found some suggestions like:
put it in ".bash_logout", which unfortunately only works if you are using a shell and log out of the shell.
Also, I've seen something about K scripts in init.d but I can't make heads or tails of that.
Is there an EASY way to run a simple shell script every time someone logs out of Gnome or shuts down the computer?
Thanks
LP
|