ramips: add user space support for the DIR-645
[15.05/openwrt.git] / target / linux / ramips / base-files / lib / ramips.sh
index 8dcda48..90afa49 100755 (executable)
@@ -47,9 +47,15 @@ ramips_board_name() {
        machine=$(awk 'BEGIN{FS="[ \t]+:[ \t]"} /machine/ {print $2}' /proc/cpuinfo)
 
        case "$machine" in
+       *"8devices Carambola")
+               name="carambola"
+               ;;
        *"Edimax 3g-6200n")
                name="3g-6200n"
                ;;
+       *"Allnet ALL0239-3G")
+               name="all0239-3g"
+               ;;
        *"Allnet ALL0256N")
                name="all0256n"
                ;;
@@ -83,6 +89,12 @@ ramips_board_name() {
        *"DIR-620 A1")
                name="dir-620-a1"
                ;;
+       *"DIR-615 H1")
+               name="dir-615-h1"
+               ;;
+       *"DIR-645")
+               name="dir-645"
+               ;;
         *"DAP-1350")
                 name="dap-1350"
                 ;;