diff options
author | Florian Eckert <fe@dev.tdt.de> | 2024-04-11 11:34:21 +0200 |
---|---|---|
committer | Florian Eckert <fe@dev.tdt.de> | 2024-04-11 16:15:52 +0200 |
commit | 15e355f9c94f50f28035725173bbb7cdb78bff9d (patch) | |
tree | e4483a1ff613d6296c5f732955a009c26c4afdbe /applications/luci-app-dynapoint | |
parent | 9909aa42a364e54963ea0dc1239fc8d8651fa728 (diff) |
luci-app-dynapoint: upgrade uci-defaults for ucitrack handling to use json
Conversion of the 'uci-defaults' script for ucitrack handling to the new
json processing.
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
Diffstat (limited to 'applications/luci-app-dynapoint')
-rw-r--r-- | applications/luci-app-dynapoint/root/etc/uci-defaults/40_luci-dynapoint | 11 | ||||
-rw-r--r-- | applications/luci-app-dynapoint/root/usr/share/ucitrack/luci-app-dynapoint.json | 4 |
2 files changed, 4 insertions, 11 deletions
diff --git a/applications/luci-app-dynapoint/root/etc/uci-defaults/40_luci-dynapoint b/applications/luci-app-dynapoint/root/etc/uci-defaults/40_luci-dynapoint deleted file mode 100644 index 0ffa34d762..0000000000 --- a/applications/luci-app-dynapoint/root/etc/uci-defaults/40_luci-dynapoint +++ /dev/null @@ -1,11 +0,0 @@ -#!/bin/sh - -# needed for "Save and Apply" to restart dynapoint -uci -q batch <<-EOF >/dev/null - delete ucitrack.@dynapoint[-1] - add ucitrack dynapoint - set ucitrack.@dynapoint[-1].init="dynapoint" - commit dynapoint -EOF - -exit 0 diff --git a/applications/luci-app-dynapoint/root/usr/share/ucitrack/luci-app-dynapoint.json b/applications/luci-app-dynapoint/root/usr/share/ucitrack/luci-app-dynapoint.json new file mode 100644 index 0000000000..a81e9b09dd --- /dev/null +++ b/applications/luci-app-dynapoint/root/usr/share/ucitrack/luci-app-dynapoint.json @@ -0,0 +1,4 @@ +{ + "config": "dynapoint", + "init": "dynapoint" +} |