projects
/
openwrt
/
openwrt.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
brcm2708: add Raspberry Pi 3 support
[openwrt/openwrt.git]
/
target
/
linux
/
brcm2708
/
base-files
/
lib
/
preinit
/
05_set_preinit_iface_brcm2708
1
#!/bin/sh
2
# Copyright (C) 2015-2016 OpenWrt.org
3
4
.
/
lib
/
brcm2708.sh
5
6
set_preinit_iface
() {
7
case
"$(brcm2708_board_name)"
in
8
rpi-b |\
9
rpi-b-plus |\
10
rpi-2-b |\
11
rpi-3-b
)
12
ifname
=
eth0
13
;;
14
esac
15
}
16
17
boot_hook_add preinit_main set_preinit_iface