1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
#!/bin/bash . $(dirname "$0")/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"