+++ /dev/null
-#!/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,2-model-b-rev2 |\
- raspberrypi,3-model-b |\
- raspberrypi,3-model-b-plus |\
- raspberrypi,4-model-b |\
- raspberrypi,model-b |\
- raspberrypi,model-b-plus |\
- raspberrypi,model-b-rev2)
- ifname=eth0
- ;;
- esac
-}
-
-boot_hook_add preinit_main set_preinit_iface