mirror of
				git://git.openwrt.org/openwrt/openwrt.git
				synced 2025-11-03 22:44:27 -05:00 
			
		
		
		
	
		
			
				
	
	
		
			13 lines
		
	
	
		
			292 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			13 lines
		
	
	
		
			292 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
if [ "$ACTION" = "add" -o "$ACTION" = "register" ]; then
 | 
						|
	case "$INTERFACE" in
 | 
						|
		ath*.sta*)
 | 
						|
			local BASEIF="${INTERFACE%%\.*}"
 | 
						|
 | 
						|
			include /lib/network
 | 
						|
			scan_interfaces
 | 
						|
			local CONFIG="$(find_config "$BASEIF")" 
 | 
						|
			[ -n "$CONFIG" ] && setup_interface "$INTERFACE" "$CONFIG"
 | 
						|
		;;
 | 
						|
	esac
 | 
						|
fi
 |