From: Adrian Schmutzler Date: Wed, 3 Jul 2019 21:22:44 +0000 (+0200) Subject: kernel/om-watchdog: Apply device renames from ramips X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=b4588c853838c7133d1813f78cafde14f9befa19;p=openwrt%2Fstaging%2Fsvanheule.git kernel/om-watchdog: Apply device renames from ramips Signed-off-by: Adrian Schmutzler --- 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