fix motd
This commit is contained in:
@@ -64,12 +64,12 @@ in {
|
||||
if systemctl list-units --type=service --all | grep -q "^''${service}"; then
|
||||
status=$(systemctl is-active ''${service} 2>/dev/null)
|
||||
if [ "''${status}" = "active" ]; then
|
||||
echo -e " ''${BLUE}''${service}''${RESET} - running"
|
||||
echo -e " ''${BLUE}${service}''${RESET} - running"
|
||||
else
|
||||
echo -e " ''${RED}''${service}''${RESET} - not running"
|
||||
echo -e " ''${RED}${service}''${RESET} - not running"
|
||||
fi
|
||||
else
|
||||
echo -e " ''${RED}''${service}''${RESET} - not found"
|
||||
echo -e " ''${RED}${service}''${RESET} - not found"
|
||||
fi
|
||||
'')
|
||||
motdServices)}
|
||||
|
||||
Reference in New Issue
Block a user