aboutsummaryrefslogtreecommitdiff
path: root/dns/pdnsd/files/pdnsd.in
diff options
context:
space:
mode:
Diffstat (limited to 'dns/pdnsd/files/pdnsd.in')
-rw-r--r--dns/pdnsd/files/pdnsd.in16
1 files changed, 16 insertions, 0 deletions
diff --git a/dns/pdnsd/files/pdnsd.in b/dns/pdnsd/files/pdnsd.in
new file mode 100644
index 000000000000..27e70e0da0a1
--- /dev/null
+++ b/dns/pdnsd/files/pdnsd.in
@@ -0,0 +1,16 @@
+#!/bin/sh
+
+# PROVIDE: pdnsd
+# REQUIRE: netif
+# BEFORE: LOGIN
+
+. %%RC_SUBR%%
+
+name="pdnsd"
+rcvar=${name}_enable
+command="%%PREFIX%%/sbin/pdnsd"
+pdnsd_flags="-d"
+required_files="%%PREFIX%%/etc/pdnsd.conf"
+load_rc_config $name
+
+run_rc_command "$1"