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
  • 40,352
  • 24
  • 130
  • 200
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,017
  • 12
  • 55
  • 73
Anonymous
  • 11,279
  • 5
  • 31
  • 33