On Wed, Jul 15, 2015 at 08:25:03PM +0200 or thereabouts, Stefan Wollny wrote:
> Hi misc@!
> 
> [Running i386/current: OpenBSD 5.8-beta (GENERIC.MP) #1026]
> 
> I have been using adsuck for some time now - at least I thought so.
> Today I dared to read /usr/local/share/doc/pkg-readmes/adsuck-2.5.0p
> only to find out that apparently I need to add the following line to my
> /etc/dhclient.conf:
>     script "/usr/local/sbin/dhclient-adsuck";
> because "this script will prevent from using /etc/resolv.conf to resolve
> non-blacklisted entries but use /var/adsuck/files/resolv.conf instead."
> 
> I did so, getting the following error:
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> /etc/dhclient.conf line 12: expecting a statement.
> script
> ^
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> 

The script no longer exists in base so the pkg-readme is out of date. Don't
use adsuck so cannot help further. There will be a way to use it though so I
guess it is matter of sussing out for yourself how it is supposed to work.
Either that or paste hosts.small (for example) into /etc/hosts

M

Reply via email to