mirror of
				https://github.com/Telecominfraproject/wlan-ap.git
				synced 2025-10-30 01:52:51 +00:00 
			
		
		
		
	WIFI-14906: Add 'sync' after file generation in Cloud discovery process
Signed-off-by: Tanya Singh <tanya_singh@accton.com>
This commit is contained in:
		| @@ -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 | ||||
| } | ||||
|  | ||||
|   | ||||
| @@ -91,6 +91,7 @@ function gateway_write(data) { | ||||
| 	} | ||||
| 	if (changed) | ||||
| 		fs.writefile('/etc/ucentral/gateway.json', new); | ||||
| 		system('sync'); | ||||
| 	return changed; | ||||
| } | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Tanya Singh
					Tanya Singh