kernel/om-watchdog: Apply device renames from ramips

Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
This commit is contained in:
Adrian Schmutzler 2019-07-03 23:22:44 +02:00 committed by Daniel Golle
parent 1096d1b697
commit b4588c8538

View File

@ -47,12 +47,9 @@ get_gpio() {
return 17 return 17
;; ;;
esac esac
elif [ -r /lib/ramips.sh ]; then elif [ "$board" = "teltonika_rut5xx" ]; then
case "$board" in # ramips
"rut5xx") return 11
return 11
;;
esac
else else
#we assume it is om1p in this case #we assume it is om1p in this case
return 3 return 3