diff options
author | Florian Eckert <fe@dev.tdt.de> | 2024-04-11 11:46:52 +0200 |
---|---|---|
committer | Florian Eckert <fe@dev.tdt.de> | 2024-04-11 16:15:52 +0200 |
commit | 5c6fbba6ca7b418e1ac7ace48642f8bc9c0f114b (patch) | |
tree | 179c7290ba5a9c0f924a191c74cae4f5e9df9261 /applications/luci-app-p910nd/root | |
parent | dd0aa936a5c50e4929f87221ef67ac739ef73b8d (diff) |
luci-app-p910nd: 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-p910nd/root')
-rwxr-xr-x | applications/luci-app-p910nd/root/etc/uci-defaults/40_luci-p910nd | 10 | ||||
-rw-r--r-- | applications/luci-app-p910nd/root/usr/share/ucitrack/luci-app-p910nd.json | 4 |
2 files changed, 4 insertions, 10 deletions
diff --git a/applications/luci-app-p910nd/root/etc/uci-defaults/40_luci-p910nd b/applications/luci-app-p910nd/root/etc/uci-defaults/40_luci-p910nd deleted file mode 100755 index d1b629fdee..0000000000 --- a/applications/luci-app-p910nd/root/etc/uci-defaults/40_luci-p910nd +++ /dev/null @@ -1,10 +0,0 @@ -#!/bin/sh - -uci -q batch <<-EOF >/dev/null - delete ucitrack.@p910nd[-1] - add ucitrack p910nd - set ucitrack.@p910nd[-1].init=p910nd - commit ucitrack -EOF - -exit 0 diff --git a/applications/luci-app-p910nd/root/usr/share/ucitrack/luci-app-p910nd.json b/applications/luci-app-p910nd/root/usr/share/ucitrack/luci-app-p910nd.json new file mode 100644 index 0000000000..4cf7c53f7b --- /dev/null +++ b/applications/luci-app-p910nd/root/usr/share/ucitrack/luci-app-p910nd.json @@ -0,0 +1,4 @@ +{ + "config": "p910nd", + "init": "p910nd" +} |