2

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.

jokerdino
  • 41,320

1 Answers1

-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