aboutsummaryrefslogtreecommitdiffstats
path: root/package/kernel/om-watchdog
diff options
context:
space:
mode:
Diffstat (limited to 'package/kernel/om-watchdog')
-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