mirror of
				https://github.com/iiab/iiab.git
				synced 2025-03-09 15:40:17 +00:00 
			
		
		
		
	Merge pull request #2406 from jvonau/hook-tune
tuning of 52c0f2aaea [internal WiFi hotspot is not working]
			
			
This commit is contained in:
		
						commit
						224001d0ab
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
					@ -26,7 +26,7 @@ if [ "$interface" = "wlan0" ]; then
 | 
				
			||||||
    fi
 | 
					    fi
 | 
				
			||||||
    # spams the logging
 | 
					    # spams the logging
 | 
				
			||||||
    #syslog info "50-iiab set ap0 spam $REASON"
 | 
					    #syslog info "50-iiab set ap0 spam $REASON"
 | 
				
			||||||
    if [ -e /sys/class/net/ap0 ] && [ "$reason" = "BOUND" ]; then
 | 
					    if [ -e /sys/class/net/ap0 ] && ([ "$reason" = "CARRIER" ] || [ "$reason" = "NOCARRIER" ] || [ "$reason" = "BOUND" ]); then
 | 
				
			||||||
        syslog info "50-iiab set ap0 up $REASON"
 | 
					        syslog info "50-iiab set ap0 up $REASON"
 | 
				
			||||||
        # keeps ap0 up so hostapd works
 | 
					        # keeps ap0 up so hostapd works
 | 
				
			||||||
        ip link set ap0 up
 | 
					        ip link set ap0 up
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue