From: Jonas Gorski Date: Sun, 14 Aug 2016 20:59:28 +0000 (+0200) Subject: base-files: set pi_ifname in board.d case to fix deconfig X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=30352e72ff070d61bb12a015ffaabb08d38635f3;p=openwrt%2Fstaging%2Fkaloz.git base-files: set pi_ifname in board.d case to fix deconfig Due to an empty pi_ifname in the generic failsafe setup, the deconfig never removed the failsafe networking interface, causing broken networking later on. Signed-off-by: Jonas Gorski --- diff --git a/package/base-files/files/lib/preinit/10_indicate_preinit b/package/base-files/files/lib/preinit/10_indicate_preinit index 82b730f0c5..a30bf34f6e 100644 --- a/package/base-files/files/lib/preinit/10_indicate_preinit +++ b/package/base-files/files/lib/preinit/10_indicate_preinit @@ -90,7 +90,9 @@ preinit_config_board() { ifname=${ifname%\.*} fi - preinit_ip_config $ifname + pi_ifname=$ifname + + preinit_ip_config $pi_ifname } preinit_ip() {