1#!/bin/sh 2# 3# Copyright (C) 2014-2015 OpenWrt.org 4# 5 6. /lib/functions/uci-defaults.sh 7. /lib/at91.sh 8 9board_config_update 10 11case "$(at91_board_name)" in 12 13sama5d3_xplained) 14 ucidef_set_interfaces_lan_wan "eth0" "eth1" 15 ;; 16 17*) 18 ucidef_set_interface_lan "eth0" 19 ;; 20 21esac 22 23board_config_flush 24 25exit 0 26