summaryrefslogtreecommitdiffhomepage
path: root/modules/luci-mod-system/root/usr/share
diff options
context:
space:
mode:
Diffstat (limited to 'modules/luci-mod-system/root/usr/share')
-rw-r--r--modules/luci-mod-system/root/usr/share/luci/menu.d/luci-mod-system.json111
1 files changed, 111 insertions, 0 deletions
diff --git a/modules/luci-mod-system/root/usr/share/luci/menu.d/luci-mod-system.json b/modules/luci-mod-system/root/usr/share/luci/menu.d/luci-mod-system.json
new file mode 100644
index 0000000000..4a65dec17a
--- /dev/null
+++ b/modules/luci-mod-system/root/usr/share/luci/menu.d/luci-mod-system.json
@@ -0,0 +1,111 @@
+{
+ "admin/system/system": {
+ "title": "System",
+ "order": 1,
+ "action": {
+ "type": "view",
+ "path": "system/system"
+ }
+ },
+
+ "admin/system/admin": {
+ "title": "Administration",
+ "order": 2,
+ "action": {
+ "type": "firstchild"
+ }
+ },
+
+ "admin/system/admin/password": {
+ "title": "Router Password",
+ "order": 1,
+ "action": {
+ "type": "view",
+ "path": "system/password"
+ }
+ },
+
+ "admin/system/admin/dropbear": {
+ "title": "SSH Access",
+ "order": 2,
+ "action": {
+ "type": "view",
+ "path": "system/dropbear"
+ },
+ "depends": {
+ "uci": { "dropbear": true }
+ }
+ },
+
+ "admin/system/admin/sshkeys": {
+ "title": "SSH-Keys",
+ "order": 3,
+ "action": {
+ "type": "view",
+ "path": "system/sshkeys"
+ },
+ "depends": {
+ "uci": { "dropbear": true }
+ }
+ },
+
+ "admin/system/startup": {
+ "title": "Startup",
+ "order": 45,
+ "action": {
+ "type": "view",
+ "path": "system/startup"
+ }
+ },
+
+ "admin/system/crontab": {
+ "title": "Scheduled Tasks",
+ "order": 46,
+ "action": {
+ "type": "view",
+ "path": "system/crontab"
+ }
+ },
+
+ "admin/system/mounts": {
+ "title": "Mount Points",
+ "order": 50,
+ "action": {
+ "type": "view",
+ "path": "system/mounts"
+ },
+ "depends": {
+ "fs": { "/sbin/block": "executable" }
+ }
+ },
+
+ "admin/system/leds": {
+ "title": "LED Configuration",
+ "order": 60,
+ "action": {
+ "type": "view",
+ "path": "system/leds"
+ },
+ "depends": {
+ "fs": { "/sys/class/leds": "directory" }
+ }
+ },
+
+ "admin/system/flash": {
+ "title": "Backup / Flash Firmware",
+ "order": 70,
+ "action": {
+ "type": "view",
+ "path": "system/flash"
+ }
+ },
+
+ "admin/system/reboot": {
+ "title": "Reboot",
+ "order": 90,
+ "action": {
+ "type": "view",
+ "path": "system/reboot"
+ }
+ }
+}