1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-31 05:41:08 +00:00
freebsd-ports/dns/pdnsd/files/pdnsd.in
Florent Thoumie f4478fd6fb Change pdnsd_flags to command_args in pdnsd rc.d startup script so that
pdnsd_flags can be safely overriden by user without worrying about "-d".

Approved by:	maintainer
2006-06-20 09:37:59 +00:00

17 lines
246 B
Bash

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