Adding processing for system commands to support OS information.

This commit is contained in:
stephb9959
2021-09-18 10:05:05 -07:00
parent c93459bf18
commit 222f7df0e4
7 changed files with 59 additions and 59 deletions

View File

@@ -513,7 +513,7 @@ dashboard() {
}
gwversion() {
curl ${FLAGS} -X GET "https://${OWGW}/api/v1/system?command=version" \
curl ${FLAGS} -X GET "https://${OWGW}/api/v1/system?command=version,times,host" \
-H "accept: application/json" \
-H "Authorization: Bearer ${token}" > ${result_file}
jq < ${result_file}