diff --git a/etc/rc.d/localpkg b/etc/rc.d/localpkg index fb429c9ace16..c4ade879024b 100644 --- a/etc/rc.d/localpkg +++ b/etc/rc.d/localpkg @@ -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=" "