Cleaning up after a script on shut down

Ray Parrish crp at cmc.net
Sun Aug 23 23:22:26 UTC 2009


Hello,

I am wondering if there is a way to catch the fact that Ubuntu is 
shutting down from a bash script, and do some clean up for the script 
during shut down.

I just need to remove two files on shutdown, but their names change with 
the PID of the script.

Thanks for any help you can be.

Later, Ray Parrish

-- 
The Future of Technology.
http://www.rayslinks.com/The%20Future%20of%20Technology.html
Ray's Links, a variety of links to usefull things, and articles by Ray.
http://www.rayslinks.com
Writings of "The" Schizophrenic, what it's like to be a schizo, and other
things, including my poetry.
http://www.writingsoftheschizophrenic.com






More information about the ubuntu-users mailing list