-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathluci.lua.m4
113 lines (106 loc) · 1.75 KB
/
luci.lua.m4
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
include(utils.m4)dnl
_FEATURE_GUARD_
local luci_apps = {
"acl",
"acme",
"adblock",
"advanced-reboot",
"ahcp",
"aria2",
"attendedsysupgrade",
"banip",
"base",
"bcp38",
"bmx7",
"clamav",
"commands",
"cshark",
"dcwapd",
"ddns",
"diag-core",
"dnscrypt-proxy",
"dockerman",
"dump1090",
"dynapoint",
"eoip",
"firewall",
"frpc",
"frps",
"fwknopd",
"hd-idle",
"https-dns-proxy",
"ksmbd",
"lxc",
"minidlna",
"mjpg-streamer",
"mwan3",
"nextdns",
"nft-qos",
"nlbwmon",
"ntpc",
"nut",
"ocserv",
"olsr",
"omcproxy",
"openvpn",
"opkg",
"p910nd",
"pagekitec",
"polipo",
"privoxy",
"qos",
"radicale",
"radicale2",
"rp-pppoe-server",
"samba4",
"ser2net",
"shadowsocks-libev",
"shairplay",
"simple-adblock",
"smartdns",
"splash",
"sqm",
"squid",
"statistics",
"tinyproxy",
"transmission",
"travelmate",
"ttyd",
"udpxy",
"uhttpd",
"unbound",
"upnp",
"vnstat",
"vnstat2",
"vpnbypass",
"pbr",
"watchcat",
"wifischedule",
"wireguard",
"wol",
"xinetd",
"yggdrasil",
}
Install("luci", "luci-base", { priority = 40 })
Install("luci-i18n-base-en", { optional = true, priority = 10 })
Install("luci-mod-dashboard", { priority = 40 })
Install("luci-app-commands", { priority = 40 })
Install("luci-proto-ipv6", "luci-proto-ppp", { priority = 40 })
-- Install resolver-debug for DNS debuging
Install("resolver-debug", { priority = 40 })
-- Conditional install requests for language packages
for _, lang in pairs({"en", unpack(l10n or {})}) do
for _, name in pairs(luci_apps) do
Install("luci-i18n-" .. name .. "-" .. lang, {
priority = 10,
optional = true,
condition = "luci-app-" .. name
})
end
Install("luci-i18n-base-" .. lang, {
priority = 10,
optional = true,
condition = "luci-base"
})
end
_END_FEATURE_GUARD_