summaryrefslogtreecommitdiffhomepage
path: root/modules/luci-mod-system
diff options
context:
space:
mode:
authorFlorian Eckert <fe@dev.tdt.de>2024-04-16 08:44:31 +0200
committerGitHub <noreply@github.com>2024-04-16 08:44:31 +0200
commitd5c413d2853fde0d5cec98641606a0a30f93281c (patch)
treedfc648c2c1881e7510c3b1857f3e2c7e11912c34 /modules/luci-mod-system
parentb5b14a48c7d8c81cc765ada82df524caa5fe38cd (diff)
parent4cffc9fd63d43f13942e28aa972d128a3cd35f77 (diff)
Merge pull request #7056 from TDT-AG/pr/20240411-ucitrack
luci-base: conversion of ucitrack handling from uci to json
Diffstat (limited to 'modules/luci-mod-system')
-rw-r--r--modules/luci-mod-system/root/usr/share/ucitrack/luci-mod-system-dropbear.json4
-rw-r--r--modules/luci-mod-system/root/usr/share/ucitrack/luci-mod-system-mounts.json4
-rw-r--r--modules/luci-mod-system/root/usr/share/ucitrack/luci-mod-system-system.json9
3 files changed, 17 insertions, 0 deletions
diff --git a/modules/luci-mod-system/root/usr/share/ucitrack/luci-mod-system-dropbear.json b/modules/luci-mod-system/root/usr/share/ucitrack/luci-mod-system-dropbear.json
new file mode 100644
index 0000000000..fc24cd9978
--- /dev/null
+++ b/modules/luci-mod-system/root/usr/share/ucitrack/luci-mod-system-dropbear.json
@@ -0,0 +1,4 @@
+{
+ "config": "dropbear",
+ "init": "dropbear"
+}
diff --git a/modules/luci-mod-system/root/usr/share/ucitrack/luci-mod-system-mounts.json b/modules/luci-mod-system/root/usr/share/ucitrack/luci-mod-system-mounts.json
new file mode 100644
index 0000000000..95b071167c
--- /dev/null
+++ b/modules/luci-mod-system/root/usr/share/ucitrack/luci-mod-system-mounts.json
@@ -0,0 +1,4 @@
+{
+ "config": "fstab",
+ "exec": "/sbin/block mount"
+}
diff --git a/modules/luci-mod-system/root/usr/share/ucitrack/luci-mod-system-system.json b/modules/luci-mod-system/root/usr/share/ucitrack/luci-mod-system-system.json
new file mode 100644
index 0000000000..f3da5ce8c4
--- /dev/null
+++ b/modules/luci-mod-system/root/usr/share/ucitrack/luci-mod-system-system.json
@@ -0,0 +1,9 @@
+{
+ "config": "system",
+ "init": "led",
+ "exec": "/etc/init.d/log reload",
+ "affects": [
+ "luci_statistics",
+ "dhcp"
+ ]
+}