projects
/
openwrt-working-2016
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0f481a5
)
linux/ar71xx: rework rb-711 support
author
acoul
<alex@ozo.com>
Sat, 2 Apr 2016 15:04:33 +0000
(18:04 +0300)
committer
acoul
<alex@ozo.com>
Sat, 2 Apr 2016 15:04:33 +0000
(18:04 +0300)
package/base-files/files/etc/rc.local
patch
|
blob
|
history
target/linux/ar71xx/base-files/etc/board.d/02_network
patch
|
blob
|
history
target/linux/ar71xx/base-files/lib/ar71xx.sh
patch
|
blob
|
history
diff --git
a/package/base-files/files/etc/rc.local
b/package/base-files/files/etc/rc.local
index 46580543bcaceac77521559b66b69eb17e15d303..1bd7d29dff3cc16023d6c3f3a137167256d257ce 100644
(file)
--- 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 bd488a26ff309418f84580edc8fdc68c942ad69d..b9f16abc34c188973607d7cffd9102793667a422 100755
(executable)
--- 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 3da386111f3d5877677e5a0a3a25d26a88a8e73d..49796913837359576d73187a7db2b48bba9d9857 100755
(executable)
--- 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-711
gr100
"
;;
*"RouterBOARD 2011L")
name="rb-2011l"