kernel/om-watchdog: Apply device renames from ramips
Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
This commit is contained in:
		 Adrian Schmutzler
					Adrian Schmutzler
				
			
				
					committed by
					
						 Daniel Golle
						Daniel Golle
					
				
			
			
				
	
			
			
			 Daniel Golle
						Daniel Golle
					
				
			
						parent
						
							1096d1b697
						
					
				
				
					commit
					b4588c8538
				
			| @@ -47,12 +47,9 @@ get_gpio() { | ||||
| 			return 17 | ||||
| 			;; | ||||
| 		esac | ||||
| 	elif [ -r /lib/ramips.sh ]; then | ||||
| 		case "$board" in | ||||
| 		"rut5xx") | ||||
| 			return 11 | ||||
| 			;; | ||||
| 		esac | ||||
| 	elif [ "$board" = "teltonika_rut5xx" ]; then | ||||
| 		# ramips | ||||
| 		return 11 | ||||
| 	else | ||||
| 		#we assume it is om1p in this case | ||||
| 		return 3 | ||||
|   | ||||
		Reference in New Issue
	
	Block a user