projects
/
openwrt
/
staging
/
rmilecki.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
target: replace remaining occurrences of ifconfig with ip
[openwrt/staging/rmilecki.git]
/
target
/
linux
/
sunxi
/
base-files
/
lib
/
preinit
/
03_b53_hack.sh
1
do_b53_hack
() {
2
.
/
lib
/
functions.sh
3
4
# hack: enable switch on Lamobo R1 and reset counters
5
case
$
(
board_name
)
in
6
lamobo
,
lamobo-r1
)
7
ip link
set
eth0 up
8
sleep
1
9
swconfig dev switch0
set
reset
1
10
swconfig dev switch0
set
reset_mib
1
11
swconfig dev switch0
set
apply
1
12
;;
13
esac
14
}
15
16
boot_hook_add preinit_main do_b53_hack