578ddbe4c4f6e91d925ea3a0de9e060daac82e72
[openwrt/staging/dedeckeh.git] / target / linux / ipq40xx / base-files / lib / preinit / 06_set_preinit_iface_ipq40xx.sh
1 #!/bin/sh
2
3 set_preinit_iface() {
4 . /lib/functions.sh
5
6 case $(board_name) in
7 asus,rt-ac58u| \
8 avm,fritzbox-4040| \
9 glinet,gl-b1300| \
10 meraki,mr33| \
11 zyxel,nbg6617)
12 ifname=eth0
13 ;;
14 *)
15 ;;
16 esac
17 }
18
19 boot_hook_add preinit_main set_preinit_iface