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,077 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,397
- 12
- 56
- 73
Anonymous
- 11,589
- 5
- 32
- 33