OpenWrt – Blame information for rev 4

Subversion Repositories:
Rev:
Rev Author Line No. Line
4 office 1 #!/bin/sh
2  
3 do_b53_hack() {
4 . /lib/functions.sh
5  
6 # hack: enable switch on Lamobo R1 and reset counters
7 case "$(board_name)" in
8 "lamobo,lamobo-r1")
9 ifconfig eth0 up
10 sleep 1
11 swconfig dev switch0 set reset 1
12 swconfig dev switch0 set reset_mib 1
13 swconfig dev switch0 set apply 1
14 ;;
15 esac
16 }
17  
18 boot_hook_add preinit_main do_b53_hack