openbsd-ports/net/adsuck/files
todd e277ac9e9f o bump to 1.4
o PREFIX/SYSCONFDIR/etc police from Antoine Jacoutot
2009-03-09 03:57:38 +00:00
..
dhclient-script.diff
README.dhclient o bump to 1.4 2009-03-09 03:57:38 +00:00

To make dhclient play nice with adsuck, patching dhclient-script is necessary:

 cd /sbin
 patch -p0 < ${TRUEPREFIX}/share/adsuck/dhclient-script.diff

dhclient-script will then, providing adsuck exists and adsuck_flags != "NO"
will avoid /etc/resolv.conf and write instead /var/adsuck/files/resolv.conf,
and give adsuck a HUP to reload that file.