if features and features.provides and features.conflicts then -- Advanced dependencies guard -- Tools Install("wol", "tcpdump", { priority = 40 }) Install("relayd", "udev", { priority = 40 }) Install("bind-client", "bind-dig", { priority = 40 }) Install("openvpn-openssl", { priority = 40 }) -- 3G Install("br2684ctl", "comgt", "uqmi", { priority = 40 }) Install("ppp-mod-pppoa", "pptpd", { priority = 40 }) Install("usb-modeswitch", { priority = 40 }) -- IPv6 Install("ds-lite", "6in4", "6rd", "6to4", { priority = 40 }) -- Kernel Install("kmod-usb-net-rndis", "kmod-usb-net-qmi-wwan", "kmod-usb-serial-option", { priority = 40 }) -- Luci Install("luci-app-ddns", "luci-proto-3g", { priority = 40 }) local luci_i18n = {["en"] = true} -- we always install English localization for _, lang in pairs(l10n or {}) do luci_i18n[lang] = true end for lang in pairs(luci_i18n) do for _, pkg in pairs({"ddns"}) do Install("luci-i18n-" .. pkg .. "-" .. lang, { ignore = {"missing"}, priority = 40 }) end end end