4 Dec 2008 10:11
Re: Per-user network up and down scripts
Ruben Safir <ruben <at> mrbrklyn.com>
2008-12-04 09:11:00 GMT
2008-12-04 09:11:00 GMT
Nathaniel Smith wrote: > On Wed, Nov 26, 2008 at 8:40 AM, Don Marti <dmarti <at> zgp.org> wrote: > >> There's other stuff that I want to do when the net >> comes up or down that should run as me, not root. >> (Sync my IMAP mail, open ssh "master" connections >> which are tied to me, and so on.) >> > > Another approach (used by a number of desktop apps these days) is to > listen for D-Bus signals from NetworkManager. For a slightly > different use case mostly (Firefox switching between "offline" and > "online" mode, Pidgin triggering an automatic reconnection attempt, > etc.) where the interested apps are already resident in memory, and of > course it assumes you're using NetworkManager, but one could create a > little session daemon who just listens for such events and then runs > scripts, for instance. > > -- Nathaniel > _______________________________________________ > linux-elitists mailing list > linux-elitists <at> zgp.org > http://allium.zgp.org/cgi-bin/mailman/listinfo/linux-elitists > > How do you get them into user space and there is no standard command line tools of either HAL or D-Bus(Continue reading)
RSS Feed