summaryrefslogtreecommitdiff
path: root/etc/rc.d/ctld
diff options
context:
space:
mode:
Diffstat (limited to 'etc/rc.d/ctld')
-rwxr-xr-xetc/rc.d/ctld22
1 files changed, 22 insertions, 0 deletions
diff --git a/etc/rc.d/ctld b/etc/rc.d/ctld
new file mode 100755
index 000000000000..87fb8160d410
--- /dev/null
+++ b/etc/rc.d/ctld
@@ -0,0 +1,22 @@
+#!/bin/sh
+#
+# $FreeBSD$
+#
+
+# PROVIDE: ctld
+# REQUIRE: FILESYSTEMS
+# BEFORE: DAEMON
+# KEYWORD: nojail
+
+. /etc/rc.subr
+
+name="ctld"
+rcvar="ctld_enable"
+pidfile="/var/run/${name}.pid"
+command="/usr/sbin/${name}"
+required_files="/etc/ctl.conf"
+required_modules="ctl"
+extra_commands="reload"
+
+load_rc_config $name
+run_rc_command "$1"