851b7e8f184b5eef4032da9223ed21f65f34ebcc
[openwrt/openwrt.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
8 board_config_update
9
10 case "$(cat /tmp/sysinfo/board_name)" in
11 erlite)
12 ucidef_set_interfaces_lan_wan "eth0" "eth1"
13 ;;
14
15 *)
16 ucidef_set_interfaces_lan_wan "eth0" "eth1"
17 ;;
18 esac
19
20 board_config_flush
21
22 exit 0