Make localpkg print local scripts names when the boot is verbose
PR: conf/68525 Approved by: philip (mentor) MFC after: 3 days
This commit is contained in:
parent
6c535f2f42
commit
609d51b24f
@ -48,6 +48,9 @@ pkg_stop()
|
||||
find_local_scripts_old
|
||||
for script in `reverse_list ${slist} ${zlist}`; do
|
||||
if [ -x "${script}" ]; then
|
||||
if [ `sysctl -n debug.bootverbose` -eq 1 ]; then
|
||||
echo "==>" ${script}
|
||||
fi
|
||||
(set -T
|
||||
trap 'exit 1' 2
|
||||
${script} stop)
|
||||
|
Loading…
Reference in New Issue
Block a user