|
write a script, make it executable, put it in "/etc/init.d" directory......
Create a link in "/etc/init.d/rc0.d" to the file you created in "/etc/init.d".......Make sure that the "link" filename starts with the letter "K" (that's for "kill")......
The script should then be executed as part of the system shutdown process, irregardless of who shuts the computer down...
__________________
Only dead fish go with the flow....
Hmmm, what did I miss?
|