mirror of
https://github.com/Telecominfraproject/wlan-cloud-owprov.git
synced 2025-11-01 11:07:46 +00:00
Fixing firmware inheritance rules.
This commit is contained in:
@@ -79,8 +79,8 @@ namespace OpenWifi {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
std::for_each(cbegin(SerialNumbers),cend(SerialNumbers),
|
for(const auto &i:SerialNumbers)
|
||||||
[&DeviceSerialNumbers](const std::string &S){ DeviceSerialNumbers.push_back(S); });
|
DeviceSerialNumbers.push_back(i);
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -450,7 +450,6 @@ addresscheck() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
affecteddevices() {
|
affecteddevices() {
|
||||||
computedAffected
|
|
||||||
curl ${FLAGS} -X GET "https://${OWPROV}/api/v1/configurations/${1}?computedAffected=true" \
|
curl ${FLAGS} -X GET "https://${OWPROV}/api/v1/configurations/${1}?computedAffected=true" \
|
||||||
-H "Content-Type: application/json" \
|
-H "Content-Type: application/json" \
|
||||||
-H "Authorization: Bearer ${token}" \
|
-H "Authorization: Bearer ${token}" \
|
||||||
@@ -500,6 +499,7 @@ case "$1" in
|
|||||||
"reloadsubsystem") login; reloadsubsystem "$2"; logout ;;
|
"reloadsubsystem") login; reloadsubsystem "$2"; logout ;;
|
||||||
"systeminfo") login; systeminfo ; logout;;
|
"systeminfo") login; systeminfo ; logout;;
|
||||||
"addresscheck") login; addresscheck; logout ;;
|
"addresscheck") login; addresscheck; logout ;;
|
||||||
|
"affecteddevices") login; affecteddevices "$2"; logout;;
|
||||||
*) help ;;
|
*) help ;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user