ports/dns/pdnsd/files/pdnsd.in
2024-06-11 13:54:26 +02:00

18 lines
283 B
Bash

#!/bin/sh
# PROVIDE: pdnsd
# REQUIRE: netif
# BEFORE: LOGIN
. /etc/rc.subr
name="pdnsd"
rcvar=pdnsd_enable
command="%%PREFIX%%/sbin/pdnsd"
command_args="-d"
required_files="%%PREFIX%%/etc/pdnsd.conf"
: ${pdnsd_svcj_options:="net_basic"}
load_rc_config $name
run_rc_command "$1"