X-Git-Url: https://git.archive.openwrt.org/?p=project%2Fluci.git;a=blobdiff_plain;f=modules%2Fadmin-full%2Fluasrc%2Fview%2Fadmin_network%2Fwifi_overview.htm;h=6a1020670bf3c7784ac408d7efa243795595d534;hp=d476baa5f91aa577eb536a8cec49cd778904d483;hb=aaeec06e3ec88e3126008339fc42e81fcfb50d44;hpb=34ee1629766969e514dc878ebc53208926bdaf16 diff --git a/modules/admin-full/luasrc/view/admin_network/wifi_overview.htm b/modules/admin-full/luasrc/view/admin_network/wifi_overview.htm index d476baa5f..6a1020670 100644 --- a/modules/admin-full/luasrc/view/admin_network/wifi_overview.htm +++ b/modules/admin-full/luasrc/view/admin_network/wifi_overview.htm @@ -87,10 +87,19 @@ $Id$ netdevs[net:ifname()] = dev:name() end end + + local has_iwinfo = pcall(require, "iwinfo") -%> <%+header%> +<% if not has_iwinfo then %> +
+ <%:Package libiwinfo required!%>
+ <%_The libiwinfo package is not installed. You must install this component for working wireless configuration!%> +
+<% end %> +