luci-base: sys.lua: lazy-load luci.model.network
authorJo-Philipp Wich <jo@mein.io>
Fri, 1 Nov 2019 12:42:30 +0000 (13:42 +0100)
committerJo-Philipp Wich <jo@mein.io>
Sat, 2 Nov 2019 19:14:25 +0000 (20:14 +0100)
commit1b835a50aabfbfe7d8d16a6d15c853315dc7ba79
tree10c01867965d6dccaf7e4cf320e171dc56f0549f
parent8234d03340c03a25ade9eb595f0d2ace0751d08b
luci-base: sys.lua: lazy-load luci.model.network

This allows using luci.sys without installed luci.model.network class.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
modules/luci-base/luasrc/sys.lua