SecBSD's official ports repository

This commit is contained in:
purplerain 2023-08-16 22:26:55 +00:00
commit 2c0afcbbf3
Signed by: purplerain
GPG key ID: F42C07F07E2E35B7
64331 changed files with 5339189 additions and 0 deletions

View file

@ -0,0 +1,21 @@
#!/bin/ksh
# "meta" script running the following rc.d(8) scripts with the given argument;
# note that "daemon_*" variables are not passed to the child scripts.
_pkg_scripts="cf_execd cf_monitord"
if [[ $1 == restart ]]; then
$0 stop && $0 start
exit
fi
if [[ $1 == stop ]]; then
for _i in ${_pkg_scripts}; do _l="${_i} ${_l}"; done
_pkg_scripts=${_l% }
fi
for _i in ${_pkg_scripts}; do
if [[ -x ${RCDIR}/${_i} ]]; then
${RCDIR}/${_i} $@ || exit $?
fi
done