kernel/om-watchdog: Apply device renames from ramips
[openwrt/staging/mkresin.git] / package / kernel / om-watchdog / files / om-watchdog.init
index 10eb55ccc27f2af585e63ebe7768503243197d59..4c407dadaeb719e055b4ff0f32522f8c61f39c78 100644 (file)
@@ -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