diff options
Diffstat (limited to 'target/linux/sunxi')
-rw-r--r-- | target/linux/sunxi/base-files/lib/preinit/03_b53_hack.sh | 2 |
1 files changed, 1 insertions, 1 deletions
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 6ad8f57620..cc0c67acc7 100644 --- a/target/linux/sunxi/base-files/lib/preinit/03_b53_hack.sh +++ b/target/linux/sunxi/base-files/lib/preinit/03_b53_hack.sh @@ -4,7 +4,7 @@ do_b53_hack() { # hack: enable switch on Lamobo R1 and reset counters case $(board_name) in lamobo,lamobo-r1) - ifconfig eth0 up + ip link set eth0 up sleep 1 swconfig dev switch0 set reset 1 swconfig dev switch0 set reset_mib 1 |