diff options
author | matteo <matteo@FreeBSD.org> | 2006-02-12 10:04:56 +0000 |
---|---|---|
committer | matteo <matteo@FreeBSD.org> | 2006-02-12 10:04:56 +0000 |
commit | 609d51b24fbf97398c54ee5d22c551bd91507fa7 (patch) | |
tree | f90ac0c3c1f85971a9f21e1a40f4f84d24ddb9e6 /etc/rc.d/localpkg | |
parent | 6c535f2f4200068821dbffc6ce36129dc903f8dd (diff) | |
download | FreeBSD-src-609d51b24fbf97398c54ee5d22c551bd91507fa7.zip FreeBSD-src-609d51b24fbf97398c54ee5d22c551bd91507fa7.tar.gz |
Make localpkg print local scripts names when the boot is verbose
PR: conf/68525
Approved by: philip (mentor)
MFC after: 3 days
Diffstat (limited to 'etc/rc.d/localpkg')
-rw-r--r-- | etc/rc.d/localpkg | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/etc/rc.d/localpkg b/etc/rc.d/localpkg index 0eba523..5de96ee 100644 --- a/etc/rc.d/localpkg +++ b/etc/rc.d/localpkg @@ -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) |