mpc85xx: set preinit interface to eth0 by default
This makes the WDR4900 accessible via ethernet in failsafe mode. Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 36322
This commit is contained in:
parent
40e15b1fbf
commit
687b3f04ce
1 changed files with 12 additions and 0 deletions
|
@ -0,0 +1,12 @@
|
||||||
|
#!/bin/sh
|
||||||
|
#
|
||||||
|
# Copyright (C) 2013 OpenWrt.org
|
||||||
|
#
|
||||||
|
|
||||||
|
. /lib/mpc85xx.sh
|
||||||
|
|
||||||
|
mpc85xx_set_preinit_iface() {
|
||||||
|
ifname=eth0
|
||||||
|
}
|
||||||
|
|
||||||
|
boot_hook_add preinit_main mpc85xx_set_preinit_iface
|
Loading…
Reference in a new issue