Take the 2-minute tour ×

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 '14 at 19:31

Your Answer



Browse other questions tagged or ask your own question.