mirror of
				https://github.com/Telecominfraproject/wlan-ap.git
				synced 2025-10-31 02:17:58 +00:00 
			
		
		
		
	firstcontact: cloud_discovery will start the service
Signed-off-by: John Crispin <john@phrozen.org>
This commit is contained in:
		| @@ -1,18 +1,9 @@ | ||||
| #!/bin/sh /etc/rc.common | ||||
|  | ||||
| START=99 | ||||
|  | ||||
| USE_PROCD=1 | ||||
| PROG=/usr/bin/ucode | ||||
|  | ||||
| start_service() { | ||||
| 	[ -f /etc/ucentral/capabilities.json ] || { | ||||
| 		mkdir -p /etc/ucentral/ | ||||
| 		/usr/share/ucentral/capabilities.uc | ||||
| 	} | ||||
|  | ||||
| 	/usr/share/ucentral/ucentral.uc /etc/ucentral/ucentral.cfg.0000000001 > /dev/null | ||||
|  | ||||
| 	procd_open_instance | ||||
| 	procd_set_param command "$PROG" -l uci -l fs /usr/share/ucentral/firstcontact.uc | ||||
| 	procd_set_param respawn 1 10 0 | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 John Crispin
					John Crispin