aboutsummaryrefslogtreecommitdiff
path: root/sysutils/ipa/files/ipa.in
diff options
context:
space:
mode:
authorJean Milanez Melo <jmelo@FreeBSD.org>2006-04-12 18:11:36 +0000
committerJean Milanez Melo <jmelo@FreeBSD.org>2006-04-12 18:11:36 +0000
commit05e98c89b97043352242c354bc76a8ae136a727e (patch)
tree595da699993e5f72c02496311db65b1778f51603 /sysutils/ipa/files/ipa.in
parentdd3d74c83bc41f2da2f3ca831b60c34396d2646a (diff)
downloadports-05e98c89b97043352242c354bc76a8ae136a727e.tar.gz
ports-05e98c89b97043352242c354bc76a8ae136a727e.zip
Notes
Diffstat (limited to 'sysutils/ipa/files/ipa.in')
-rw-r--r--sysutils/ipa/files/ipa.in33
1 files changed, 33 insertions, 0 deletions
diff --git a/sysutils/ipa/files/ipa.in b/sysutils/ipa/files/ipa.in
new file mode 100644
index 000000000000..3c8850d53e94
--- /dev/null
+++ b/sysutils/ipa/files/ipa.in
@@ -0,0 +1,33 @@
+#!/bin/sh
+#
+# $FreeBSD$
+#
+
+# If some IPA module requires some services, then they should
+# be specified after REQUIRE, by default REQUIRE contains
+# only syslogd, since ipa uses syslog for logging by default
+# and does not require anything more for running.
+
+# PROVIDE: ipa
+# REQUIRE: syslogd
+# KEYWORD: shutdown
+
+# Following line can enable ipa (see rc.subr(8) for information
+# where to write it):
+#
+# ipa_enable (boolean) Set to "YES" to enable ipa
+# (default is "NO")
+
+. %%RC_SUBR%%
+
+name="ipa"
+rcvar=${name}_enable
+
+command="%%PREFIX%%/bin/ipa"
+extra_commands="reload"
+
+load_rc_config $name
+
+: ${ipa_enable="NO"}
+
+run_rc_command "$1"