From: Adrian Schmutzler Date: Fri, 7 Aug 2020 14:29:23 +0000 (+0200) Subject: om-watchdog: fix board name for teltonika,rut5xx X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=1d5b08ca51e5f766ebb206dfad20daa6f0d12c19;p=openwrt%2Fstaging%2Fynezz.git 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 --- 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