mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-21 22:47:56 +00:00
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 <jonas.gorski@gmail.com>
This commit is contained in:
parent
95bad62f2a
commit
30352e72ff
@ -90,7 +90,9 @@ preinit_config_board() {
|
||||
ifname=${ifname%\.*}
|
||||
fi
|
||||
|
||||
preinit_ip_config $ifname
|
||||
pi_ifname=$ifname
|
||||
|
||||
preinit_ip_config $pi_ifname
|
||||
}
|
||||
|
||||
preinit_ip() {
|
||||
|
Loading…
Reference in New Issue
Block a user