projects
/
openwrt.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
base-files: board.d: auto-set model id and name if /tmp/sysinfo is available
[openwrt.git]
/
target
/
linux
/
at91
/
base-files
/
etc
/
board.d
/
02_network
1
#!/bin/sh
2
#
3
# Copyright (C) 2014-2015 OpenWrt.org
4
#
5
6
. /lib/functions/uci-defaults-new.sh
7
. /lib/at91.sh
8
9
board_config_update
10
11
case "$(at91_board_name)" in
12
13
sama5d3_xplained)
14
ucidef_set_interfaces_lan_wan "eth0" "eth1"
15
;;
16
17
*)
18
ucidef_set_interface_lan "eth0"
19
;;
20
21
esac
22
23
board_config_flush
24
25
exit 0