forked from Ivasoft/openwrt
treewide: use the generic board_name function
Use the generic function instead ot the target specific ones. Signed-off-by: Mathias Kresin <dev@kresin.me>
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user