How can I make a bash script run only at shutdown? I have searched for it and keep coming up empty handed. I would be fine with either a link or an explanation to how to do it.
Asked
Active
Viewed 1,087 times
1 Answers
-1
I believe you add script to /etc/rc6.d/
You might want to read /etc/init.d/README

Kris Harper
- 13,477

Anonymous
- 11,699