Switch from purple to gray for disabled services

wtf
This commit is contained in:
Salt 2020-10-08 02:59:51 -05:00
parent 21068e902a
commit 5abed1f219

@ -203,8 +203,8 @@ fslist() {
errorline="\e[33mNot an fsdefaults service\e[0m" errorline="\e[33mNot an fsdefaults service\e[0m"
;; ;;
51) 51)
status="\e[35m○\e[0m" status="\e[90m○\e[0m"
errorline="\e[35mDisabled\e[0m" errorline="\e[90mDisabled\e[0m"
;; ;;
*) *)
status="\e[31m●\e[0m" status="\e[31m●\e[0m"
@ -307,11 +307,11 @@ fsstatus() {
else else
# Service does not have a pidfile and SHOULD be stopped # Service does not have a pidfile and SHOULD be stopped
if [ -x "$service" ]; then if [ -x "$service" ]; then
status="\e[35m●\e[0m" status="\e[90m●\e[0m"
description="Stopped" description="\e[90mStopped\e[0m"
elif ! [ -x "$service" ]; then elif ! [ -x "$service" ]; then
status="\e[35m○\e[0m" status="\e[90m○\e[0m"
description="Disabled" description="\e[90mDisabled\e[0m"
fi fi
fi fi
printf "\t$status %-${len}.${len}s $description\n" "$name" printf "\t$status %-${len}.${len}s $description\n" "$name"