Browse Source

kernel/om-watchdog: Apply device renames from ramips

Signed-off-by: Adrian Schmutzler <[email protected]>
Adrian Schmutzler 6 years ago
parent
commit
b4588c8538
1 changed files with 3 additions and 6 deletions
  1. 3 6
      package/kernel/om-watchdog/files/om-watchdog.init

+ 3 - 6
package/kernel/om-watchdog/files/om-watchdog.init

@@ -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