Advertisement
Guest User

Untitled

a guest
Nov 19th, 2017
74
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Diff 0.97 KB | None | 0 0
  1. diff --git a/target/linux/ar71xx/base-files/lib/ar71xx.sh b/target/linux/ar71xx/base-files/lib/ar71xx.sh
  2. index 99035632e6..2cf934b5a2 100755
  3. --- a/target/linux/ar71xx/base-files/lib/ar71xx.sh
  4. +++ b/target/linux/ar71xx/base-files/lib/ar71xx.sh
  5. @@ -289,9 +289,15 @@ tplink_board_detect() {
  6.                 ;;
  7.         "3C0001"*)
  8.                 model="OOLITE"
  9. +
  10. +               [ "$hwid" = "3c00010c" -a "$mid" = "00000001" ] && {
  11. +                       model="MINIBOX_V3"
  12. +                       hwver=""
  13. +               }
  14.                 ;;
  15.         "3C0002"*)
  16.                 model="MINIBOX_V1"
  17. +               hwver=""
  18.                 ;;
  19.         "430000"*)
  20.                 model="TP-Link TL-WDR4300"
  21. @@ -720,6 +726,9 @@ ar71xx_board_detect() {
  22.         *"MiniBox V1.0")
  23.                 name="minibox-v1"
  24.                 ;;
  25. +       *"MiniBox V3")
  26. +               name="minibox-v3"
  27. +               ;;
  28.         *"MR12")
  29.                 name="mr12"
  30.                 ;;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement