1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
#!/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" load_rc_config $name run_rc_command "$1"