Update services.inc

This commit is contained in:
2024-01-10 22:43:06 -06:00
parent fb4a3a2421
commit 18aa6ce61d

View File

@@ -117,11 +117,11 @@ SERVICE_MGMT(){
esac esac
shift shift
done done
echo "SERVICE=${SERVICE['service']}" # echo "SERVICE=${SERVICE['service']}"
echo "ACTION=${SERVICE['action']}" # echo "ACTION=${SERVICE['action']}"
echo "NODE=${SERVICE['node']}" # echo "NODE=${SERVICE['node']}"
echo "NODETYPE=${SERVICE['nodetype']}" # echo "NODETYPE=${SERVICE['nodetype']}"
echo "QUIET=${QUIET}" # echo "QUIET=${QUIET}"
if [ "${NM_SERVICE_DESC[${SERVICE['service']}]}" == "" ] && [ "${NM_SERVICE_DESC[${SERVICE['service']}]}" != "ALL" ]; then if [ "${NM_SERVICE_DESC[${SERVICE['service']}]}" == "" ] && [ "${NM_SERVICE_DESC[${SERVICE['service']}]}" != "ALL" ]; then
echo -e "${idsCL[Red]}"${SERVICE['service']}" is an unknown Service.${idsCL[Default]}" echo -e "${idsCL[Red]}"${SERVICE['service']}" is an unknown Service.${idsCL[Default]}"