mirror of
				https://github.com/iiab/iiab.git
				synced 2025-03-09 15:40:17 +00:00 
			
		
		
		
	drop NA
This commit is contained in:
		
							parent
							
								
									348974be6f
								
							
						
					
					
						commit
						a49a0680d3
					
				
					 1 changed files with 2 additions and 2 deletions
				
			
		| 
						 | 
				
			
			@ -2,7 +2,7 @@
 | 
			
		|||
IFACE={{ discovered_wireless_iface }}
 | 
			
		||||
RASPBIAN=0
 | 
			
		||||
NETPLAN=0
 | 
			
		||||
SSID="NA"
 | 
			
		||||
SSID=""
 | 
			
		||||
# when we get here br0 should be available and dbus wpa_supplicant was started if enabled. None
 | 
			
		||||
# of the backends that use wpa_supplicant should be active yet based on the Before= After= lines
 | 
			
		||||
# in the iiab-wifi-test.service unit file.
 | 
			
		||||
| 
						 | 
				
			
			@ -55,7 +55,7 @@ if [ -f /etc/iiab/iiab.env ]; then
 | 
			
		|||
fi
 | 
			
		||||
 | 
			
		||||
# NetworkManager
 | 
			
		||||
if [ $SSID == "NA" ] && [ ! -z $(pgrep NetworkManager) ]; then
 | 
			
		||||
if [ -z $SSID ] && [ ! -z $(pgrep NetworkManager) ]; then
 | 
			
		||||
    echo "NetworkManager"
 | 
			
		||||
    sleep 15
 | 
			
		||||
    SSID=$(iw $IFACE info | grep ssid | awk '{print $2}' )
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue