mirror of
				https://github.com/Telecominfraproject/wlan-ap.git
				synced 2025-10-31 02:17:58 +00:00 
			
		
		
		
	ucentral-client: detect 0 byte capabilities file
Fixes: WIFI-14023 Signed-off-by: John Crispin <john@phrozen.org>
This commit is contained in:
		| @@ -15,6 +15,7 @@ reload_service() { | ||||
| } | ||||
|  | ||||
| start_service() { | ||||
| 	[ -s /etc/ucentral/capabilities.json ] || rm /etc/ucentral/capabilities.json | ||||
| 	[ -f /etc/ucentral/capabilities.json ] || /usr/share/ucentral/capabilities.uc | ||||
|  | ||||
| 	[ -f /etc/ucentral/ucentral.cfg.0000000002 ] && { | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 John Crispin
					John Crispin