Tell me more ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I want a script to run before my laptop shuts down for disabling networking.

How can I do this? Assign a "shut down script or app that executes just before shutdown?

share|improve this question

1 Answer

Check this link out:

Assigning shutdown and startup scripts

That should help you.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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