Advertisement
Guest User

Untitled

a guest
Nov 19th, 2017
62
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Diff 0.89 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..b1a668e879 100755
  3. --- a/target/linux/ar71xx/base-files/lib/ar71xx.sh
  4. +++ b/target/linux/ar71xx/base-files/lib/ar71xx.sh
  5. @@ -289,7 +289,12 @@ tplink_board_detect() {
  6.                 ;;
  7.         "3C0001"*)
  8.                 model="OOLITE"
  9. -               ;;
  10. +
  11. +               [ "$hwid" = "3c00010c" -a "$mid" = "00000001" ] && {
  12. +                       model="MINIBOX_V3"
  13. +                       hwver=""
  14. +               }
  15. +    ;;
  16.         "3C0002"*)
  17.                 model="MINIBOX_V1"
  18.                 ;;
  19. @@ -720,6 +725,9 @@ ar71xx_board_detect() {
  20.         *"MiniBox V1.0")
  21.                 name="minibox-v1"
  22.                 ;;
  23. +       *"MiniBox V3")
  24. +               name="minibox-v3"
  25. +               ;;
  26.         *"MR12")
  27.                 name="mr12"
  28.                 ;;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement