mirror of
				https://github.com/Ysurac/openmptcprouter-feeds.git
				synced 2025-03-09 15:40:03 +00:00 
			
		
		
		
	Only disable rx/tx on RPI with 4.14 kernel for now
This commit is contained in:
		
							parent
							
								
									13328e9fd7
								
							
						
					
					
						commit
						77a45e18e5
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -305,7 +305,7 @@ start_service() {
 | 
			
		|||
		}
 | 
			
		||||
	fi
 | 
			
		||||
	uci -q commit network
 | 
			
		||||
	[ -n "$(ubus call system board | jsonfilter -e '@.board_name' | grep raspberry)" ] && {
 | 
			
		||||
	[ -n "$(ubus call system board | jsonfilter -e '@.board_name' | grep raspberry)" ] && [ -n "$(ubus call system board | jsonfilter -e '@.kernel' | grep '4.14')" ] && {
 | 
			
		||||
		ethtool --offload eth0 rx off tx off
 | 
			
		||||
	}
 | 
			
		||||
}
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue