brcm2708: order boards and models alphabetically

Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
This commit is contained in:
Stijn Tintel
2017-03-05 21:16:06 +01:00
committed by Álvaro Fernández Rojas
parent 2543e986ad
commit a8c2a719fa
4 changed files with 27 additions and 23 deletions

View File

@@ -1,14 +1,15 @@
#!/bin/sh
# Copyright (C) 2015-2016 OpenWrt.org
# Copyright (C) 2017 LEDE project
. /lib/brcm2708.sh
set_preinit_iface() {
case "$(brcm2708_board_name)" in
rpi-b |\
rpi-b-plus |\
rpi-2-b |\
rpi-3-b)
rpi-3-b |\
rpi-b |\
rpi-b-plus)
ifname=eth0
;;
esac