mirror of
				https://github.com/iiab/iiab.git
				synced 2025-03-09 15:40:17 +00:00 
			
		
		
		
	Merge branch '1753' into dnsmasq-fix
This commit is contained in:
		
						commit
						0c85804e99
					
				
					 2 changed files with 2 additions and 2 deletions
				
			
		| 
						 | 
					@ -157,7 +157,7 @@
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# so this works
 | 
					# so this works
 | 
				
			||||||
- name: Interface count
 | 
					- name: Interface count
 | 
				
			||||||
  shell: ls /sys/class/net | grep -v -e lo | wc | awk '{print $1}'
 | 
					  shell: ls /sys/class/net | grep -v -e lo -e bridge0 -e veth -e "br-*" -e docker| wc | awk '{print $1}'
 | 
				
			||||||
  register: adapter_count
 | 
					  register: adapter_count
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# well if there ever was a point to tell the user things are FUBAR this is it.
 | 
					# well if there ever was a point to tell the user things are FUBAR this is it.
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -112,7 +112,7 @@
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# LAN - pick non WAN's
 | 
					# LAN - pick non WAN's
 | 
				
			||||||
- name: Create list of LAN (non WAN) ifaces
 | 
					- name: Create list of LAN (non WAN) ifaces
 | 
				
			||||||
  shell: ls /sys/class/net | grep -v -e wwlan -e ppp -e lo -e br0 -e tun -e {{ device_gw }} -e {{ ap_device }}
 | 
					  shell: ls /sys/class/net | grep -v -e wwlan -e ppp -e lo -e br0 -e tun -e "br-*" -e docker -e bridge0 -e veth -e {{ device_gw }} -e {{ ap_device }}
 | 
				
			||||||
  when: num_lan_interfaces != "0"
 | 
					  when: num_lan_interfaces != "0"
 | 
				
			||||||
  register: lan_list_result
 | 
					  register: lan_list_result
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue