7dbabec11d2a5bbb32246720397f2eb0bf1075bd
[openwrt/staging/dedeckeh.git] / target / linux / apm821xx / base-files / etc / board.d / 02_network
1 #!/bin/sh
2
3 . /lib/functions/system.sh
4 . /lib/functions/uci-defaults.sh
5 . /lib/apm821xx.sh
6
7 board_config_update
8
9 board=$(apm821xx_board_name)
10
11 case "$board" in
12 *)
13 ucidef_set_interfaces_lan_wan "eth0" "eth1"
14 ;;
15 esac
16
17 board_config_flush
18
19 exit 0