06241e4236
from rpe, ok sthen@
16 lines
443 B
Bash
16 lines
443 B
Bash
#!/bin/sh
|
|
#
|
|
# $OpenBSD: netatalk.rc,v 1.4 2012/08/25 10:15:47 ajacoutot Exp $
|
|
|
|
# "meta" script running the following rc.d(8) scripts with the given argument;
|
|
# note that daemon_flags, daemon_user and daemon_class are not passed to
|
|
# the child scripts.
|
|
_pkg_scripts="cnid_metad afpd"
|
|
|
|
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
|