114321 threads
294 threads
1 email from 1 person
Hi Everybody, I want to ask, how to check for system shutdown? I mean I want to write a code, under linux, that at shutdown should do something. So how to know if the user is shutting down. Thank you very much, Mohammed.