This commit is contained in:
2023-07-03 23:52:17 -05:00
parent 74ee8b0932
commit b7a47d88f3
5 changed files with 13 additions and 10 deletions

View File

@@ -1,3 +1,4 @@
#!/usr/bin/env bash
STATUS(){
start=`date +%s`
ST_ACTION=${1}
@@ -68,7 +69,7 @@ STATUS(){
else
spc=' '
fi
echo -en " ${NM_SERVICE_DESC[${srvc}]}${spc}: "
echo -en " ${NM_SERVICE_DESC[${srvc}]}(${srvc})${spc}: "
fi
if [ "$(systemctl is-active ${srvc})" != "active" ]; then