Switch from purple to gray for disabled services
wtf
This commit is contained in:
parent
21068e902a
commit
5abed1f219
12
firestarter
12
firestarter
@ -203,8 +203,8 @@ fslist() {
|
||||
errorline="\e[33mNot an fsdefaults service\e[0m"
|
||||
;;
|
||||
51)
|
||||
status="\e[35m○\e[0m"
|
||||
errorline="\e[35mDisabled\e[0m"
|
||||
status="\e[90m○\e[0m"
|
||||
errorline="\e[90mDisabled\e[0m"
|
||||
;;
|
||||
*)
|
||||
status="\e[31m●\e[0m"
|
||||
@ -307,11 +307,11 @@ fsstatus() {
|
||||
else
|
||||
# Service does not have a pidfile and SHOULD be stopped
|
||||
if [ -x "$service" ]; then
|
||||
status="\e[35m●\e[0m"
|
||||
description="Stopped"
|
||||
status="\e[90m●\e[0m"
|
||||
description="\e[90mStopped\e[0m"
|
||||
elif ! [ -x "$service" ]; then
|
||||
status="\e[35m○\e[0m"
|
||||
description="Disabled"
|
||||
status="\e[90m○\e[0m"
|
||||
description="\e[90mDisabled\e[0m"
|
||||
fi
|
||||
fi
|
||||
printf "\t$status %-${len}.${len}s $description\n" "$name"
|
||||
|
Loading…
Reference in New Issue
Block a user