21 # For each dir in $local_startup, search for init scripts matching *.sh
23 case ${local_startup} in
28 find_local_scripts_old
29 for script in ${zlist} ${slist}; do
30 if [ -z "${initdone}" -a -f "${script}" ]; then
31 echo -n 'Local package initialization:'
34 if [ -x "${script}" ]; then
38 elif [ -f "${script}" -o -L "${script}" ]; then
39 echo -n " (skipping ${script}, not executable)"
42 [ -n "${initdone}" ] && echo '.'
51 case ${local_startup} in
56 find_local_scripts_old
57 for script in `reverse_list ${slist} ${zlist}`; do
58 if [ -z "${initdone}" -a -f "${script}" ]; then
59 echo -n 'Shutting down local packages:'
62 if [ -x "${script}" ]; then
63 if [ `sysctl -n debug.bootverbose` -eq 1 ]; then
71 [ -n "${initdone}" ] && echo '.'