aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAdrian Schmutzler <freifunk@adrianschmutzler.de>2020-08-07 16:29:23 +0200
committerAdrian Schmutzler <freifunk@adrianschmutzler.de>2020-08-07 16:30:55 +0200
commit1d5b08ca51e5f766ebb206dfad20daa6f0d12c19 (patch)
treea1ceac60dfc79d039b0a03cffc2d2d24c10c46a0
parent1634461bd208f4bd108ea5c3d3f1cf9eb56d4a7e (diff)
downloadupstream-1d5b08ca51e5f766ebb206dfad20daa6f0d12c19.tar.gz
upstream-1d5b08ca51e5f766ebb206dfad20daa6f0d12c19.tar.bz2
upstream-1d5b08ca51e5f766ebb206dfad20daa6f0d12c19.zip
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@adrianschmutzler.de>
-rw-r--r--package/kernel/om-watchdog/Makefile2
-rw-r--r--package/kernel/om-watchdog/files/om-watchdog.init2
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