Read zone_nr from system_data
This commit is contained in:
parent
e6d8c04076
commit
a3f4a742ce
@ -396,7 +396,7 @@ int CALCULATE_LIBRARY_API get_zone_nr(int zone)
|
||||
if(zone > -1) return zone;
|
||||
else
|
||||
{
|
||||
QFile zone("/etc/zone_nr");
|
||||
QFile zone("/mnt/system_data/zone_nr");
|
||||
if (zone.exists()) {
|
||||
QFileInfo finfo(zone);
|
||||
if (finfo.size() <= 4) { // decimal 000\n
|
||||
|
Loading…
x
Reference in New Issue
Block a user