OpenWrt – Blame information for rev 1

Subversion Repositories:
Rev:
Rev Author Line No. Line
1 office 1 #!/bin/sh
2 #
3 # Copyright (C) 2013-2015 OpenWrt.org
4 #
5  
6 . /lib/functions/uci-defaults.sh
7  
8 board=$(board_name)
9  
10 board_config_update
11  
12 case "$board" in
13 cubox-i |\
14 *gw51xx |\
15 *gw52xx |\
16 *gw5904)
17 ucidef_set_interface_lan 'eth0'
18 ;;
19 *gw53xx |\
20 *gw54xx |\
21 *gw552x)
22 ucidef_set_interfaces_lan_wan 'eth0' 'eth1'
23 ;;
24 *wandboard)
25 ucidef_set_interface_wan 'eth0'
26 ;;
27 esac
28  
29 board_config_flush
30  
31 exit 0