Tom Early 5 years ago
parent 48f7c6304e
commit 63935690f5

@ -249,7 +249,7 @@ ModuleStatus () {
SubState=$( systemctl show -p SubState --value ${DMRProcess[$1]} ) SubState=$( systemctl show -p SubState --value ${DMRProcess[$1]} )
if [[ "$LoadState" == "loaded" ]]; then if [[ "$LoadState" == "loaded" ]]; then
if [[ $SubState == "running" ]]; then if [[ $SubState == "running" ]]; then
DRMState[$1]='running' DMRState[$1]='running'
else else
DMRState[$1]='stopped' DMRState[$1]='stopped'
fi fi

Loading…
Cancel
Save

Powered by TurnKey Linux.