aboutsummaryrefslogtreecommitdiffstats
path: root/package/kernel/om-watchdog/files/om-watchdog.init
diff options
context:
space:
mode:
Diffstat (limited to 'package/kernel/om-watchdog/files/om-watchdog.init')
-rw-r--r--package/kernel/om-watchdog/files/om-watchdog.init9
1 files changed, 9 insertions, 0 deletions
diff --git a/package/kernel/om-watchdog/files/om-watchdog.init b/package/kernel/om-watchdog/files/om-watchdog.init
index 7d5d216509..906ee665fd 100644
--- a/package/kernel/om-watchdog/files/om-watchdog.init
+++ b/package/kernel/om-watchdog/files/om-watchdog.init
@@ -48,6 +48,15 @@ get_gpio() {
return 17
;;
esac
+ elif [ -r /lib/ramips.sh ]; then
+ . /lib/ramips.sh
+ local board=$(ramips_board_name)
+
+ case "$board" in
+ "rut5xx")
+ return 11
+ ;;
+ esac
else
#we assume it is om1p in this case
return 3