You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
#!/bin/sh
|
|
#
|
|
# Copyright (C) 2015 OpenWrt.org
|
|
#
|
|
|
|
. /lib/brcm2708.sh
|
|
|
|
set_preinit_iface() {
|
|
case "$(brcm2708_board_name)" in
|
|
rpi-b |\
|
|
rpi-b-plus |\
|
|
rpi-2-b)
|
|
ifname=eth0
|
|
;;
|
|
esac
|
|
}
|
|
|
|
boot_hook_add preinit_main set_preinit_iface
|