On Mon, Aug 23, 2004 at 09:27:16AM -0400, Colin Walters wrote:
Incidentally, it shouldn't be all that hard to get the http proxy
from
DHCP into userspace. dhclient seems to write out the configuration
into /var/lib/dhcp/dhclient-ethX.leases. At worst you could have a
little post-DHCP script that does "grep http-proxy", and then something
like:
dbus-send --system --signal com.redhat.Network.DHCP.HttpProxy string:$(proxy)
The dhcp client already runs scripts on various events like network down and
address change. Right now we unfortunately don't do much with that functionality.
Then NetworkManager could listen for this signal and set the GConf
key.
Then all applications which use GConf would dynamically pick up the
change.
Yes