Explorar el Código

om-watchdog: fix board name for teltonika,rut5xx

The board name is equivalent to the compatible, not the device
definition. Fix it.

Fixes: b4588c853838 ("kernel/om-watchdog: Apply device renames from ramips")

Signed-off-by: Adrian Schmutzler <[email protected]>
Adrian Schmutzler hace 5 años
padre
commit
1d5b08ca51

+ 1 - 1
package/kernel/om-watchdog/Makefile

@@ -8,7 +8,7 @@
 include $(TOPDIR)/rules.mk
 include $(TOPDIR)/rules.mk
 
 
 PKG_NAME:=om-watchdog
 PKG_NAME:=om-watchdog
-PKG_RELEASE:=2
+PKG_RELEASE:=3
 
 
 include $(INCLUDE_DIR)/package.mk
 include $(INCLUDE_DIR)/package.mk
 
 

+ 1 - 1
package/kernel/om-watchdog/files/om-watchdog.init

@@ -47,7 +47,7 @@ get_gpio() {
 			return 17
 			return 17
 			;;
 			;;
 		esac
 		esac
-	elif [ "$board" = "teltonika_rut5xx" ]; then
+	elif [ "$board" = "teltonika,rut5xx" ]; then
 		# ramips
 		# ramips
 		return 11
 		return 11
 	else
 	else