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

luci-mod-network.json « menu.d « luci « share « usr « root « luci-mod-network « modules - github.com/openwrt/luci.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 670f2c1a49afe71c09396b797e24b3737eceb8e4 (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
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
{
	"admin/network/switch": {
		"title": "Switch",
		"order": 20,
		"action": {
			"type": "view",
			"path": "network/switch"
		},
		"depends": {
			"fs": { "/sbin/swconfig": "executable" },
			"uci": { "network": { "@switch": true } }
		}
	},

	"admin/network/wireless": {
		"title": "Wireless",
		"order": 15,
		"action": {
			"type": "view",
			"path": "network/wireless"
		},
		"depends": {
			"uci": { "wireless": { "@wifi-device": true } }
		}
	},

	"admin/network/remote_addr/*": {
		"action": {
			"type": "call",
			"module": "luci.controller.admin.network",
			"function": "remote_addr"
		}
	},

	"admin/network/network": {
		"title": "Interfaces",
		"order": 10,
		"action": {
			"type": "view",
			"path": "network/interfaces"
		}
	},

	"admin/network/dhcp": {
		"title": "DHCP and DNS",
		"order": 30,
		"action": {
			"type": "view",
			"path": "network/dhcp"
		},
		"depends": {
			"uci": { "dhcp": true }
		}
	},

	"admin/network/hosts": {
		"title": "Hostnames",
		"order": 40,
		"action": {
			"type": "view",
			"path": "network/hosts"
		},
		"depends": {
			"uci": { "dhcp": true }
		}
	},

	"admin/network/routes": {
		"title": "Static Routes",
		"order": 50,
		"action": {
			"type": "view",
			"path": "network/routes"
		}
	},

	"admin/network/diagnostics": {
		"title": "Diagnostics",
		"order": 60,
		"action": {
			"type": "view",
			"path": "network/diagnostics"
		}
	}
}