Martijn Rijkeboer (Martijn takes MAINTAINER), testing and src/sysinfo.c diff from Timo Myyra. !!! Note: CFEngine 3 is not a drop-in upgrade for CFEngine 2 installations. !!! It is a significantly more powerful version, but it is incompatible with !!! the CFEngine 2 policy language.
15 lines
364 B
Bash
15 lines
364 B
Bash
#!/bin/sh
|
|
#
|
|
# $OpenBSD: cfengine.rc,v 1.1 2013/05/01 21:09:23 sthen Exp $
|
|
|
|
# "meta" script running the following rc.d(8) scripts with the given argument
|
|
|
|
_pkg_scripts="cf_execd cf_monitord"
|
|
|
|
if [ "$1" = stop ]; then
|
|
for _i in ${_pkg_scripts}; do _l="${_i} ${_l}"; done
|
|
_pkg_scripts=${_l% }
|
|
fi
|
|
|
|
for _i in ${_pkg_scripts}; do ${RCDIR}/${_i} $1; done
|