openwrt/package/base-files/files/lib/preinit
Hauke Mehrtens c0fdfd15fc base-files: failsafe: Fix IP configuration
Adapt the preinit_config_board() to the board.json network changes. It
now looks for the device and the ports variables to configure the LAN
network.

This works with swconfig configurations.

Fixes: FS#3866
Fixes: d42640e389 ("base-files: use "ports" array in board.json network for bridges")
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Reviewed-by: Rafał Miłecki <rafal@milecki.pl>
(cherry picked from commit 467cd378db)
2021-06-22 23:52:09 +02:00
..
02_default_set_state treewide: drop shebang from non-executable lib files 2021-01-29 14:29:41 +01:00
02_sysinfo treewide: populate boardname and model earlier 2017-07-15 23:13:34 +02:00
10_indicate_failsafe treewide: drop shebang from non-executable lib files 2021-01-29 14:29:41 +01:00
10_indicate_preinit base-files: failsafe: Fix IP configuration 2021-06-22 23:52:09 +02:00
30_failsafe_wait treewide: drop shebang from non-executable lib files 2021-01-29 14:29:41 +01:00
40_run_failsafe_hook treewide: drop shebang from non-executable lib files 2021-01-29 14:29:41 +01:00
50_indicate_regular_preinit treewide: drop shebang from non-executable lib files 2021-01-29 14:29:41 +01:00
70_initramfs_test treewide: drop shebang from non-executable lib files 2021-01-29 14:29:41 +01:00
80_mount_root treewide: drop shebang from non-executable lib files 2021-01-29 14:29:41 +01:00
99_10_failsafe_login treewide: drop shebang from non-executable lib files 2021-01-29 14:29:41 +01:00
99_10_run_init treewide: drop shebang from non-executable lib files 2021-01-29 14:29:41 +01:00