mirror of
				https://github.com/Telecominfraproject/wlan-ap.git
				synced 2025-10-31 02:17:58 +00:00 
			
		
		
		
	afcd: do not require a CA
Signed-off-by: John Crispin <john@phrozen.org>
This commit is contained in:
		| @@ -11,10 +11,11 @@ add_afc() { | |||||||
|  |  | ||||||
| 	config_get url "$1" url | 	config_get url "$1" url | ||||||
| 	config_get cert "$1" cert | 	config_get cert "$1" cert | ||||||
| 	[ -n "$cert" -a -n "$url" ] || return | 	[ -n "$cert" ] || return | ||||||
|  |  | ||||||
| 	procd_open_instance afcd | 	procd_open_instance afcd | ||||||
| 	procd_set_param command /usr/bin/ucode /usr/share/hostap/afcd.uc -u "$url" -c "$cert" | 	procd_set_param command /usr/bin/ucode /usr/share/hostap/afcd.uc -u "$url" | ||||||
|  | 	[ -n "$url" ] && procd_append_param command -c "$cert"  | ||||||
| 	procd_set_param respawn | 	procd_set_param respawn | ||||||
| 	procd_close_instance | 	procd_close_instance | ||||||
| } | } | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 John Crispin
					John Crispin