Don't start automatic R21 firmware update in docker (needs to be testet)
@@ -478,7 +478,11 @@ void DeRestPluginPrivate::queryFirmwareVersion()
bool autoUpdate = false;
// auto update factory fresh devices with too old or no firmware
- if (fwVersion == FW_ONLY_R21_BOOTLOADER || (fwVersion > 0 && fwVersion <= GW_AUTO_UPDATE_R21_FW_VERSION))
+ if (gwRunMode.startsWith(QLatin1String("docker")))
+ {
+ // TODO needs to be testet
+ }
+ else if (fwVersion == FW_ONLY_R21_BOOTLOADER || (fwVersion > 0 && fwVersion <= GW_AUTO_UPDATE_R21_FW_VERSION))
{
autoUpdate = true;
}
