mirror of
				https://github.com/Telecominfraproject/wlan-ap.git
				synced 2025-10-31 10:28:06 +00:00 
			
		
		
		
	luci-mod-ucentral: update certupdate for insta birth certificates
Fixes: WIFI-14694 Signed-off-by: John Crispin <john@phrozen.org>
This commit is contained in:
		| @@ -17,11 +17,14 @@ mkdir -p /tmp/certs | ||||
| tar x -C /tmp/certs -f /tmp/certs.tar | ||||
|  | ||||
| # make sure the required files exist | ||||
| [ -f /tmp/certs/cas.pem -a -f /tmp/certs/key.pem -a -f /tmp/certs/cert.pem ] || exit 1 | ||||
| [ -f /tmp/certs/key.pem -a -f /tmp/certs/cert.pem ] || exit 1 | ||||
|  | ||||
| # copy the certificates to /etc | ||||
| cp /tmp/certs/*.pem /certificates | ||||
|  | ||||
| # remove old operational certs | ||||
| rm /certificates/operational.* | ||||
|  | ||||
| # copy dev-id or gateway.json | ||||
| for a in gateway.json; do | ||||
| 	if [ -f /tmp/certs/$a ]; then | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 John Crispin
					John Crispin