[Resolvconf-devel] resolvconf and network-manager
Thomas Hood
jdthood at yahoo.co.uk
Mon Mar 27 18:40:25 UTC 2006
A Mennucc wrote:
> you may want to look at bug #359270 and express your thoughts
I agree that network-manager should follow the example of many other
network configurer applications and do the following (expressed in sh
pseudocode):
# Create resolvconf nameserver information record
if [ -x /sbin/resolvconf ] ; then
echo <nameserver info> | /sbin/resolvconf -a network-manager
else
...futz with /etc/resolv.conf directly...
fi
# Delete resolvconf nameserver information record
if [ -x /sbin/resolvconf ] ; then
/sbin/resolvconf -d network-manager
else
...futz with /etc/resolv.conf directly...
fi
See the resolvconf package README for more information. There is also
lots of example code in resolvconf-compatible packages.
--
Thomas Hood
Debian resolvconf maintainers
More information about the Resolvconf-devel
mailing list