diff options
author | Boris Samorodov <bsam@FreeBSD.org> | 2009-02-10 21:37:55 +0000 |
---|---|---|
committer | Boris Samorodov <bsam@FreeBSD.org> | 2009-02-10 21:37:55 +0000 |
commit | 580b911de3b0a5ef1d6a68ad56bea0515bb08f64 (patch) | |
tree | a5fabe5c8994fdc2621dee80033137553deed3b1 /sysutils/cfengine3/files/cf-execd.in | |
parent | f9941ead1b1bbfeaf35219b0c790ebcf9bef2ad3 (diff) | |
download | ports-580b911de3b0a5ef1d6a68ad56bea0515bb08f64.tar.gz ports-580b911de3b0a5ef1d6a68ad56bea0515bb08f64.zip |
Notes
Diffstat (limited to 'sysutils/cfengine3/files/cf-execd.in')
-rw-r--r-- | sysutils/cfengine3/files/cf-execd.in | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/sysutils/cfengine3/files/cf-execd.in b/sysutils/cfengine3/files/cf-execd.in new file mode 100644 index 000000000000..064c4d842e88 --- /dev/null +++ b/sysutils/cfengine3/files/cf-execd.in @@ -0,0 +1,30 @@ +#!/bin/sh +# +# $FreeBSD$ +# +# PROVIDE: cf-execd +# REQUIRE: SERVERS +# BEFORE: DAEMON +# KEYWORD: shutdown +# +# Add the following line to /etc/rc.conf[.local] to enable cf-execd(8) +# +# cf-execd_enable (bool): Set to "NO" by default. +# Set it to "YES" to enable cf-execd. +# cf-execd_flags (str): Custom additional arguments to be passed +# to cf-execd (default empty). +# + +. %%RC_SUBR%% + +name="cf-execd" +rcvar=${name}_enable + +command="%%PREFIX%%/sbin/${name}" + +load_rc_config $name + +: ${cf-execd_enable="NO"} +: ${cf-execd_flags=""} + +run_rc_command "$1" |