From d9bff53a1cbbab42a64a63cf01a8e4484ab59e82 Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Mon, 31 May 2021 19:00:15 +0200 Subject: [PATCH] luci-mod-network: allow netifd version query to fail Fixes: 17af33ee48 ("luci-mod-network: migrate network config depending on netifd version") Signed-off-by: Jo-Philipp Wich (cherry picked from commit 34dc351303bad74c8f753c37788814796888129a) --- .../htdocs/luci-static/resources/view/network/interfaces.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/luci-mod-network/htdocs/luci-static/resources/view/network/interfaces.js b/modules/luci-mod-network/htdocs/luci-static/resources/view/network/interfaces.js index 5d7f237bb6..5626a2b823 100644 --- a/modules/luci-mod-network/htdocs/luci-static/resources/view/network/interfaces.js +++ b/modules/luci-mod-network/htdocs/luci-static/resources/view/network/interfaces.js @@ -294,7 +294,7 @@ return view.extend({ network.getDSLModemType(), network.getDevices(), fs.lines('/etc/iproute2/rt_tables'), - fs.read('/usr/lib/opkg/info/netifd.control'), + L.resolveDefault(fs.read('/usr/lib/opkg/info/netifd.control')), uci.changes() ]); }, -- 2.30.2