mirror of
https://github.com/Telecominfraproject/wlan-cloud-ucentralgw.git
synced 2025-11-26 23:14:49 +00:00
Adding processing for system commands to support OS information.
This commit is contained in:
@@ -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}
|
||||
|
||||
Reference in New Issue
Block a user