OpenWrt – Blame information for rev 4

Subversion Repositories:
Rev:
Rev Author Line No. Line
4 office 1 #!/bin/sh
2 # Copyright (C) 2015-2016 OpenWrt.org
3 # Copyright (C) 2017 LEDE project
4  
5 set_preinit_iface() {
6 . /lib/functions.sh
7  
8 case "$(board_name)" in
9 raspberrypi,2-model-b |\
10 raspberrypi,3-model-b |\
11 raspberrypi,3-model-b-plus |\
12 raspberrypi,model-b |\
13 raspberrypi,model-b-plus |\
14 raspberrypi,model-b-rev2)
15 ifname=eth0
16 ;;
17 esac
18 }
19  
20 boot_hook_add preinit_main set_preinit_iface