projects
/
openwrt
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
treewide: use the generic board_name function
[openwrt/openwrt.git]
/
target
/
linux
/
sunxi
/
base-files
/
lib
/
preinit
/
03_b53_hack.sh
diff --git
a/target/linux/sunxi/base-files/lib/preinit/03_b53_hack.sh
b/target/linux/sunxi/base-files/lib/preinit/03_b53_hack.sh
index 7f508ff918e0fc7576591434d1f1012b0d4df4a6..170cfd5b29f05fce0ba2bf7e13a44e010d6166b5 100644
(file)
--- a/
target/linux/sunxi/base-files/lib/preinit/03_b53_hack.sh
+++ b/
target/linux/sunxi/base-files/lib/preinit/03_b53_hack.sh
@@
-1,9
+1,10
@@
#!/bin/sh
-. /lib/sunxi.sh
do_b53_hack() {
+ . /lib/functions.sh
+
# hack: enable switch on Lamobo R1 and reset counters
- case "$(
sunxi_board_name
)" in
+ case "$(
board_name
)" in
"lamobo,lamobo-r1")
ifconfig eth0 up
sleep 1