mirror of
https://github.com/Telecominfraproject/wlan-ap.git
synced 2025-10-29 09:32:34 +00:00
cloud_discovery: remove pki2 env lookup
Fixes: WIFI-14694 Signed-off-by: John Crispin <john@phrozen.org>
This commit is contained in:
@@ -22,13 +22,6 @@ start_service() {
|
|||||||
[ "$valid" == "true" ] ||
|
[ "$valid" == "true" ] ||
|
||||||
/usr/share/ucentral/ucentral.uc /etc/ucentral/ucentral.cfg.0000000001 > /dev/null
|
/usr/share/ucentral/ucentral.uc /etc/ucentral/ucentral.cfg.0000000001 > /dev/null
|
||||||
|
|
||||||
[ "$(fw_printenv -n pki2)" -eq 1 ] || {
|
|
||||||
/etc/init.d/cloud_discover disable
|
|
||||||
return
|
|
||||||
}
|
|
||||||
|
|
||||||
/etc/init.d/firstcontact disable
|
|
||||||
|
|
||||||
procd_open_instance
|
procd_open_instance
|
||||||
procd_set_param command "$PROG"
|
procd_set_param command "$PROG"
|
||||||
procd_set_param respawn
|
procd_set_param respawn
|
||||||
|
|||||||
Reference in New Issue
Block a user