aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAdrian Schmutzler <freifunk@adrianschmutzler.de>2019-07-03 23:22:44 +0200
committerDaniel Golle <daniel@makrotopia.org>2019-07-10 17:36:29 +0200
commitb4588c853838c7133d1813f78cafde14f9befa19 (patch)
tree57d5eace7f6ca476f5561aaddefbf4d096d9e648
parent1096d1b6979b71bd86b2049bfbe6fc044b3ca3d3 (diff)
downloadupstream-b4588c853838c7133d1813f78cafde14f9befa19.tar.gz
upstream-b4588c853838c7133d1813f78cafde14f9befa19.tar.bz2
upstream-b4588c853838c7133d1813f78cafde14f9befa19.zip
kernel/om-watchdog: Apply device renames from ramips
Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
-rw-r--r--package/kernel/om-watchdog/files/om-watchdog.init9
1 files changed, 3 insertions, 6 deletions
diff --git a/package/kernel/om-watchdog/files/om-watchdog.init b/package/kernel/om-watchdog/files/om-watchdog.init
index 10eb55ccc2..4c407dadae 100644
--- a/package/kernel/om-watchdog/files/om-watchdog.init
+++ b/package/kernel/om-watchdog/files/om-watchdog.init
@@ -47,12 +47,9 @@ get_gpio() {
return 17
;;
esac
- elif [ -r /lib/ramips.sh ]; then
- case "$board" in
- "rut5xx")
- return 11
- ;;
- esac
+ elif [ "$board" = "teltonika_rut5xx" ]; then
+ # ramips
+ return 11
else
#we assume it is om1p in this case
return 3