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

View File

@ -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)