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,000
  • 24
  • 132
  • 201
Toby Joiner
  • 121
  • 5

1 Answers1

-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