mirror of
https://github.com/Telecominfraproject/wlan-cloud-owprov.git
synced 2025-11-02 19:48:03 +00:00
Fixing firmware inheritance rules.
This commit is contained in:
@@ -40,6 +40,15 @@ namespace OpenWifi {
|
||||
}
|
||||
|
||||
void Daemon::initialize() {
|
||||
if(MicroService::instance().ConfigGetBool("firmware.updater.upgrade",false)) {
|
||||
if(MicroService::instance().ConfigGetBool("firmware.updater.releaseonly",false)) {
|
||||
FWRules_ = ProvObjects::upgrade_release_only;
|
||||
} else {
|
||||
FWRules_ = ProvObjects::upgrade_latest;
|
||||
}
|
||||
} else {
|
||||
FWRules_ = ProvObjects::dont_upgrade;
|
||||
}
|
||||
}
|
||||
|
||||
void MicroServicePostInitialization() {
|
||||
|
||||
Reference in New Issue
Block a user