[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: How to start Tor only when network works in upstart framework?



On Mon, 2008-03-31 at 23:09 +0800, Yuan Yijun wrote:
> Hi,
> 
> I use NetworkManager to connect to wifi network (WEP encrypted). Tor
> daemon should be started after connection established. Everyday I have
> to start Tor service manually. How to use upstart to do this?

Work for NetworkManagerDispatcher.
Put a script in /etc/NetworkManager/dispatcher.d.
Scripts are run before and after an interface change status, and they
are called with (at least, don't remember if there are others) two
arguments: $1 is the interface name, $2 is the interface status.

> Thanks!
> 
> -- 
> bbbush ^_^

ciao
andrea
-- 
Andrea Dell'Amico - <http://www.link.it/>

Attachment: signature.asc
Description: This is a digitally signed message part


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]