Welcome to mirror list, hosted at ThFree Co, Russian Federation.

luci-app-nut.json « menu.d « luci « share « usr « root « luci-app-nut « applications - github.com/openwrt/luci.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: f2cd6e78534942265703dc736256493e070552e2 (plain)
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
{
	"admin/services/nut": {
		"title": "Network UPS Tools",
		"action": {
			"type": "firstchild"
		},
		"depends": {
			"uci": [
				{ "nut_server": true },
				{ "nut_monitor": true },
				{ "nut_cgi": true }
			]
		}
	},

	"admin/services/nut/server": {
		"title": "Network UPS Tools (Server)",
		"order": 1,
		"action": {
			"type": "cbi",
			"path": "nut_server",
			"post": { "cbi.submit": true }
		},
		"depends": {
			"uci": { "nut_server": true }
		}
	},

	"admin/services/nut/monitor": {
		"title": "Network UPS Tools (Monitor)",
		"order": 2,
		"action": {
			"type": "cbi",
			"path": "nut_monitor",
			"post": { "cbi.submit": true }
		},
		"depends": {
			"uci": { "nut_monitor": true }
		}
	},

	"admin/services/nut/cgi": {
		"title": "Network UPS Tools (CGI)",
		"order": 3,
		"action": {
			"type": "cbi",
			"path": "nut_cgi",
			"post": { "cbi.submit": true }
		},
		"depends": {
			"uci": { "nut_cgi": true }
		}
	}
}