Compare commits

...

1 Commits

Author SHA1 Message Date
Tanya Singh
06f5ab9ad4 WIFI-14906: Add 'sync' after file generation in Cloud discovery process
Signed-off-by: Tanya Singh <tanya_singh@accton.com>
2025-07-25 17:39:37 +08:00
2 changed files with 2 additions and 0 deletions

View File

@@ -20,6 +20,7 @@ copy_certificates() {
[ -z "$country" ] && country=US
echo "options cfg80211 ieee80211_regdom="$country > /etc/modules.conf
echo -n $country > /etc/ucentral/country
sync
exit 0
}

View File

@@ -91,6 +91,7 @@ function gateway_write(data) {
}
if (changed)
fs.writefile('/etc/ucentral/gateway.json', new);
system('sync');
return changed;
}