diff options
author | Álvaro Fernández Rojas <noltari@gmail.com> | 2016-06-02 16:12:09 +0200 |
---|---|---|
committer | Álvaro Fernández Rojas <noltari@gmail.com> | 2016-06-03 16:30:06 +0200 |
commit | ec95509af426cf58652355e3276d23f157f327bb (patch) | |
tree | f138ed7b539be155cad1098a9ffc2240bd576ffb /target/linux/brcm63xx/base-files/lib/preinit/05_failsafe_config_switch_brcm63xx | |
parent | c69903473b000c496443e2cffd8eebcff787651f (diff) | |
download | upstream-ec95509af426cf58652355e3276d23f157f327bb.tar.gz upstream-ec95509af426cf58652355e3276d23f157f327bb.tar.bz2 upstream-ec95509af426cf58652355e3276d23f157f327bb.zip |
brcm63xx: remove obsolote preinit scripts and fix preinit iface script
These scripts were causing ip issues in the latest version of LEDE:
https://gist.github.com/Noltari/6d20d8bcbe236caf516c0a73f5477d00
Fixes preinit iface script by making eth0 the default ifname and only changing
it to eth1 for the devices that specifically need it.
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
Diffstat (limited to 'target/linux/brcm63xx/base-files/lib/preinit/05_failsafe_config_switch_brcm63xx')
-rw-r--r-- | target/linux/brcm63xx/base-files/lib/preinit/05_failsafe_config_switch_brcm63xx | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/target/linux/brcm63xx/base-files/lib/preinit/05_failsafe_config_switch_brcm63xx b/target/linux/brcm63xx/base-files/lib/preinit/05_failsafe_config_switch_brcm63xx deleted file mode 100644 index e1653e3936..0000000000 --- a/target/linux/brcm63xx/base-files/lib/preinit/05_failsafe_config_switch_brcm63xx +++ /dev/null @@ -1,10 +0,0 @@ -#!/bin/sh - -failsafe_ip() { - [ -n "$pi_ifname" ] && grep -q "$pi_ifname" /proc/net/dev && { - ifconfig $pi_ifname $pi_ip netmask $pi_netmask broadcast $pi_broadcast up - } -} - -boot_hook_add failsafe failsafe_ip - |