[openwrt/openwrt] om-watchdog: fix board name for teltonika, rut5xx

LEDE Commits lede-commits at lists.infradead.org
Fri Aug 7 10:31:24 EDT 2020


adrian pushed a commit to openwrt/openwrt.git, branch master:
https://git.openwrt.org/1d5b08ca51e5f766ebb206dfad20daa6f0d12c19

commit 1d5b08ca51e5f766ebb206dfad20daa6f0d12c19
Author: Adrian Schmutzler <freifunk at adrianschmutzler.de>
AuthorDate: Fri Aug 7 16:29:23 2020 +0200

    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 <freifunk at adrianschmutzler.de>
---
 package/kernel/om-watchdog/Makefile               | 2 +-
 package/kernel/om-watchdog/files/om-watchdog.init | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/package/kernel/om-watchdog/Makefile b/package/kernel/om-watchdog/Makefile
index a7e859dc8b..6f2ac372fb 100644
--- a/package/kernel/om-watchdog/Makefile
+++ b/package/kernel/om-watchdog/Makefile
@@ -8,7 +8,7 @@
 include $(TOPDIR)/rules.mk
 
 PKG_NAME:=om-watchdog
-PKG_RELEASE:=2
+PKG_RELEASE:=3
 
 include $(INCLUDE_DIR)/package.mk
 
diff --git a/package/kernel/om-watchdog/files/om-watchdog.init b/package/kernel/om-watchdog/files/om-watchdog.init
index 4c407dadae..12ff665837 100644
--- a/package/kernel/om-watchdog/files/om-watchdog.init
+++ b/package/kernel/om-watchdog/files/om-watchdog.init
@@ -47,7 +47,7 @@ get_gpio() {
 			return 17
 			;;
 		esac
-	elif [ "$board" = "teltonika_rut5xx" ]; then
+	elif [ "$board" = "teltonika,rut5xx" ]; then
 		# ramips
 		return 11
 	else



More information about the lede-commits mailing list