mirror of
				https://github.com/Ysurac/openmptcprouter-feeds.git
				synced 2025-03-09 15:40:03 +00:00 
			
		
		
		
	Fix kernel detection in init scripts
This commit is contained in:
		
							parent
							
								
									535d1e08f5
								
							
						
					
					
						commit
						900dd5db0c
					
				
					 5 changed files with 5 additions and 5 deletions
				
			
		|  | @ -18,7 +18,7 @@ _err() { | |||
| 
 | ||||
| version_over_5_4() { | ||||
| 	MAJOR_VERSION=$(uname -r | awk -F '.' '{print $1}') | ||||
| 	MINOR_VERSION=$(uname -r | awk -F '.' '{print $2}') | ||||
| 	MINOR_VERSION=$(uname -r | awk -F '.' '{print $2}' | awk -F '-' '{print $1}') | ||||
| 	if [ $MAJOR_VERSION -ge 5 ] && [ $MINOR_VERSION -gt 13 ] || [ $MAJOR_VERSION -gt 5 ] ; then | ||||
| 		return 0 | ||||
| 	else | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue