all: drop old uci-defaults.sh
[openwrt/svn-archive/archive.git] / target / linux / octeon / base-files / etc / board.d / 01_network
1 #!/bin/sh
2 #
3 # Copyright (C) 2014-2015 OpenWrt.org
4 #
5
6 . /lib/functions/uci-defaults.sh
7 . /lib/functions/octeon.sh
8
9 board_config_update
10
11 board=$(octeon_board_name)
12
13 case "$board" in
14 erlite)
15 ucidef_set_interfaces_lan_wan "eth0" "eth1"
16 ;;
17
18 *)
19 ucidef_set_interfaces_lan_wan "eth0" "eth1"
20 ;;
21 esac
22
23 board_config_flush
24
25 exit 0