14 desc="Run local init scripts"
22 # For each dir in $local_startup, search for init scripts matching *.sh
24 case ${local_startup} in
29 find_local_scripts_old
30 for script in ${zlist} ${slist}; do
31 if [ -z "${initdone}" -a -f "${script}" ]; then
32 echo -n 'Local package initialization:'
35 if [ -x "${script}" ]; then
39 elif [ -f "${script}" -o -L "${script}" ]; then
40 echo -n " (skipping ${script}, not executable)"
43 [ -n "${initdone}" ] && echo '.'
52 case ${local_startup} in
57 find_local_scripts_old
58 for script in `reverse_list ${slist} ${zlist}`; do
59 if [ -z "${initdone}" -a -f "${script}" ]; then
60 echo -n 'Shutting down local packages:'
63 if [ -x "${script}" ]; then
64 if [ `sysctl -n debug.bootverbose` -eq 1 ]; then
72 [ -n "${initdone}" ] && echo '.'