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.

I want to run a script when I'm connecting to a specific network, but only when I'm logged in. I know about cuttlefish, but it's not being maintained.

This is not a duplicate of the other question, as I have tried that, but if-up.d works all the time. I don't want that. I want it to run when I'm logged in, and only when I'm logged in.

It doesn't matter if the network is wireless or not, as I'm already parsing iwconfig to figure out what network I'm connected to.

share|improve this question
    
Did you try it with Upstart? –  TuKsn Jun 3 at 19:31

Your Answer

 
discard

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

Browse other questions tagged or ask your own question.