Browse Source

om-watchdog: fix board name for teltonika,rut5xx

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

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

Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
master
Adrian Schmutzler 2 years ago
parent
commit
1d5b08ca51
  1. 2
      package/kernel/om-watchdog/Makefile
  2. 2
      package/kernel/om-watchdog/files/om-watchdog.init

2
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

2
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

Loading…
Cancel
Save