2012-04-11 18:39:13 +00:00
|
|
|
#!/bin/sh
|
|
|
|
#
|
2012-08-25 10:14:37 +00:00
|
|
|
# $OpenBSD: netatalk.rc,v 1.4 2012/08/25 10:15:47 ajacoutot Exp $
|
2012-04-11 18:39:13 +00:00
|
|
|
|
2012-07-04 13:00:46 +00:00
|
|
|
# "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.
|
2012-04-11 18:39:13 +00:00
|
|
|
_pkg_scripts="cnid_metad afpd"
|
|
|
|
|
|
|
|
if [ "$1" = stop ]; then
|
2012-08-25 10:14:37 +00:00
|
|
|
for _i in ${_pkg_scripts}; do _l="${_i} ${_l}"; done
|
|
|
|
_pkg_scripts=${_l% }
|
2012-04-11 18:39:13 +00:00
|
|
|
fi
|
2012-08-25 10:14:37 +00:00
|
|
|
|
|
|
|
for _i in ${_pkg_scripts}; do ${RCDIR}/${_i} $1; done
|