diff --git a/feeds/tip/certificates/files/etc/init.d/early_boot b/feeds/tip/certificates/files/etc/init.d/early_boot index 636fb5f40..f5ea04c10 100755 --- a/feeds/tip/certificates/files/etc/init.d/early_boot +++ b/feeds/tip/certificates/files/etc/init.d/early_boot @@ -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 } diff --git a/feeds/tip/cloud_discovery/files/usr/bin/cloud_discovery b/feeds/tip/cloud_discovery/files/usr/bin/cloud_discovery index 3ff49cc86..a60c97478 100755 --- a/feeds/tip/cloud_discovery/files/usr/bin/cloud_discovery +++ b/feeds/tip/cloud_discovery/files/usr/bin/cloud_discovery @@ -91,6 +91,7 @@ function gateway_write(data) { } if (changed) fs.writefile('/etc/ucentral/gateway.json', new); + system('sync'); return changed; }