#!/bin/bash

. $(dirname "$0")/lib/adei/adei.sh

status=1


adei_init "$@"; code=$?
adei_process_error $code


cgroup="${adei_args[0]}"
resp=$(adei_value_query "control.php?target=get&control_group=$cgroup"); code=$?
adei_process_error "$code" "$resp" "ADEI/Control"

echo "$status"