
jmayer at loplof
Nov 29, 2007, 4:00 PM
Post #1 of 1
(1584 views)
Permalink
|
Hello Thomas, you wrote: > I wrote a script which interfaces with the > dnsmasq server, over its DBus interface, to manually add and remove > the VPN's nameserver on a per-domain basis each time I connect and > disconnect. I'm trying to integrate your patch into the main vpnc-script in order to expose it to more users. As I don't know much about dbus: Can you please add a proper test for DNSMASQ_PRESENT? My idea is to test for the existence of dbus-send and then use it to try to establish a connection to dnsmasq. If the dbus connection to dnsmasq works, then set DNSMASQ_PRESENT. > It could be modified to work without DBus, as per this discussion: > http://lists.thekelleys.org.uk/pipermail/dnsmasq-discuss/2007q3/001619.html Hmm, I didn't really understand which part of that longish thread you were referring to. Ciao Joerg -- Joerg Mayer <jmayer [at] loplof> We are stuck with technology when what we really want is just stuff that works. Some say that should read Microsoft instead of technology.
|