mirror of
				git://git.openwrt.org/openwrt/openwrt.git
				synced 2025-11-03 22:44:27 -05:00 
			
		
		
		
	
		
			
				
	
	
		
			7 lines
		
	
	
		
			160 B
		
	
	
	
		
			Bash
		
	
	
	
	
	
			
		
		
	
	
			7 lines
		
	
	
		
			160 B
		
	
	
	
		
			Bash
		
	
	
	
	
	
if [ "$ACTION" = "pressed" -a "$BUTTON" = "wps" ]; then
 | 
						|
	for dir in /var/run/hostapd-*; do
 | 
						|
		[ -d "$dir" ] || continue
 | 
						|
		hostapd_cli -p "$dir" wps_pbc
 | 
						|
	done
 | 
						|
fi
 |