Don't print anything if we can't do any localpkg shutdown (start already

does this).

Submitted by:	Andre Albsmeier <Andre dot Albsmeier at siemens dot com>
PR:		conf/86606
This commit is contained in:
Brooks Davis 2005-09-27 02:05:55 +00:00
parent 722e0ae489
commit e5cf486710
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=150603

View File

@ -53,13 +53,12 @@ pkg_start()
pkg_stop()
{
echo -n 'Shutting down daemon processes:'
# For each dir in $local_startup, search for init scripts matching *.sh
case ${local_startup} in
[Nn][Oo] | '')
;;
*)
echo -n 'Shutting down daemon processes:'
slist=""
if [ -z "${script_name_sep}" ]; then
script_name_sep=" "