linux/ar71xx: rework rb-711 support
authoracoul <alex@ozo.com>
Sat, 2 Apr 2016 15:04:33 +0000 (18:04 +0300)
committeracoul <alex@ozo.com>
Sat, 2 Apr 2016 15:04:33 +0000 (18:04 +0300)
package/base-files/files/etc/rc.local
target/linux/ar71xx/base-files/etc/board.d/02_network
target/linux/ar71xx/base-files/lib/ar71xx.sh

index 46580543bcaceac77521559b66b69eb17e15d303..1bd7d29dff3cc16023d6c3f3a137167256d257ce 100644 (file)
@@ -1,7 +1,7 @@
 # Put your custom commands here that should be executed once
 # the system init finished. By default this file does nothing.
 
-sleep 5; killall netifd
+#sleep 5; killall netifd
 
 ifconfig lo 127.0.0.1 netmask 255.0.0.0
 ifconfig eth0 192.168.1.1
index bd488a26ff309418f84580edc8fdc68c942ad69d..b9f16abc34c188973607d7cffd9102793667a422 100755 (executable)
@@ -340,6 +340,7 @@ mr600v2 |\
 mr900 |\
 mr900v2 |\
 rb-411 |\
+rb-711 |\
 rb-911g-2hpnd |\
 rb-911g-5hpacd |\
 rb-911g-5hpnd |\
index 3da386111f3d5877677e5a0a3a25d26a88a8e73d..49796913837359576d73187a7db2b48bba9d9857 100755 (executable)
@@ -717,10 +717,19 @@ ar71xx_board_detect() {
                name="rb-951ui-2hnd"
                ;;
        *"RouterBOARD 711")
+               name="rb-711"
+               ;;
+       *"RouterBOARD 711")
+               name="rb-711r3"
+               ;;
        *"RouterBOARD 711G")
+               name="rb-711g"
+               ;;
        *"RouterBOARD 711GT")
+               name="rb-711gt"
+               ;;
        *"RouterBOARD 711Gr100")
-               name="rb-711"
+               name="rb-711gr100"
                ;;
        *"RouterBOARD 2011L")
                name="rb-2011l"