hmm, on Thu, Oct 13, 2011 at 02:53:06PM +0200, David Coppa said that > On Thu, Oct 13, 2011 at 12:06 AM, frantisek holop <min...@obiit.org> wrote: > > hi there, > > > > please find attached an rc.d script for pdnsd > > It's wrong: "-d" should be passed with daemon_flags="-d", so there's > no need for a custom rc_start().
indeed. here's another try. please bump revision as well -f -- live long and prosper. -- spock
#!/bin/sh # daemon="/usr/local/sbin/pdnsd" daemon_flags="-d" . /etc/rc.d/rc.subr rc_cmd $1