Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

This question already has an answer here:

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.

share|improve this question
add comment

marked as duplicate by jokerdino Jul 27 '13 at 17:06

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

1 Answer

I believe you add script to /etc/rc6.d/

You might want to read /etc/init.d/README

share|improve this answer
add comment

Not the answer you're looking for? Browse other questions tagged or ask your own question.