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