Good day,
I can't get adsuck to start at boot on OpenBSD 5.3. I copied strings like a
monkey and thought them over (even testing them in shell), but no luck.

# grep adsuck /etc/rc.conf.local:
adsuck_flags="-c /var/adsuck -f /files/resolv.conf /files/hosts.small"

# cat /etc/rc.local:
if [ "$adsuck_flags" != "NO" -a -x /usr/local/sbin/adsuck ]; then
    echo -n ' adsuck'
    /usr/local/sbin/adsuck "$adsuck_flags"
fi

# which adsuck:
/usr/local/sbin/adsuck

Adsuck does work properly if started manually using:
sudo adsuck -c /var/adsuck -f /files/resolv.conf /files/hosts.small

So I know it's just something I'm doing wrong with my rc scripts. I read
the readme in /usr/local/shar/docs/pkg-readmes/, but that only covers
interaction with dhclient and resolv.conf.


Any help would be MUCH appreciated.

-Scott

Reply via email to