OpenWrt – Blame information for rev 3

Subversion Repositories:
Rev:
Rev Author Line No. Line
1 office 1 #!/bin/sh
2  
3 . /lib/functions/system.sh
4 . /lib/functions/uci-defaults.sh
5  
6 board_config_update
7  
8 board=$(board_name)
9  
10 case "$board" in
11 meraki,mr24|\
12 wd,mybooklive|\
13 wd,mybooklive-duo)
14 ucidef_set_interface_lan "eth0"
15 ;;
3 office 16  
1 office 17 meraki,mx60|\
18 netgear,wndr4700)
19 ucidef_add_switch "switch0" \
20 "0@eth0" "4:lan" "3:lan" "2:lan" "1:lan" "5:wan"
21 ;;
22  
23 *)
24 ucidef_set_interfaces_lan_wan "eth0" "eth1"
25 ;;
26 esac
27  
28 board_config_flush
29  
30 exit 0