From: acoul Date: Sat, 2 Apr 2016 15:04:33 +0000 (+0300) Subject: linux/ar71xx: rework rb-711 support X-Git-Url: http://git.ozo.com/?p=openwrt-working-2016%2F.git;a=commitdiff_plain;h=742920d77f7d0a7df5f7b9fd29f9137ef0f0dc01 linux/ar71xx: rework rb-711 support --- diff --git a/package/base-files/files/etc/rc.local b/package/base-files/files/etc/rc.local index 46580543bc..1bd7d29dff 100644 --- a/package/base-files/files/etc/rc.local +++ b/package/base-files/files/etc/rc.local @@ -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 diff --git a/target/linux/ar71xx/base-files/etc/board.d/02_network b/target/linux/ar71xx/base-files/etc/board.d/02_network index bd488a26ff..b9f16abc34 100755 --- a/target/linux/ar71xx/base-files/etc/board.d/02_network +++ b/target/linux/ar71xx/base-files/etc/board.d/02_network @@ -340,6 +340,7 @@ mr600v2 |\ mr900 |\ mr900v2 |\ rb-411 |\ +rb-711 |\ rb-911g-2hpnd |\ rb-911g-5hpacd |\ rb-911g-5hpnd |\ diff --git a/target/linux/ar71xx/base-files/lib/ar71xx.sh b/target/linux/ar71xx/base-files/lib/ar71xx.sh index 3da386111f..4979691383 100755 --- a/target/linux/ar71xx/base-files/lib/ar71xx.sh +++ b/target/linux/ar71xx/base-files/lib/ar71xx.sh @@ -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"