1
0
Fork 0
mirror of https://github.com/Ysurac/openmptcprouter.git synced 2025-03-09 15:40:20 +00:00

Test support for RPI3 B+

This commit is contained in:
Ycarus 2018-04-09 21:14:32 +02:00
parent 90e9938a4a
commit ea98098756
3 changed files with 135 additions and 0 deletions

View file

@ -0,0 +1,20 @@
#!/bin/sh
# Copyright (C) 2015-2016 OpenWrt.org
# Copyright (C) 2017 LEDE project
set_preinit_iface() {
. /lib/functions.sh
case "$(board_name)" in
raspberrypi,2-model-b |\
raspberrypi,3-model-b |\
raspberrypi,3-model-b-plus |\
raspberrypi,model-b |\
raspberrypi,model-b-plus |\
raspberrypi,model-b-rev2)
ifname=eth0
;;
esac
}
boot_hook_add preinit_main set_preinit_iface