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
75e00645ad
commit
151903dc6c
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=155566
@ -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