From: Florian Eckert Date: Thu, 11 Apr 2024 09:36:51 +0000 (+0200) Subject: luci-app-irqbalance: upgrade uci-defaults for ucitrack handling to use json X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=5320d967f87e1623386b3c0826bbdd09ac1595a6;p=project%2Fluci.git luci-app-irqbalance: 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 --- diff --git a/applications/luci-app-irqbalance/root/etc/uci-defaults/90_luci-irqbalance b/applications/luci-app-irqbalance/root/etc/uci-defaults/90_luci-irqbalance deleted file mode 100644 index e6ec84c4db..0000000000 --- a/applications/luci-app-irqbalance/root/etc/uci-defaults/90_luci-irqbalance +++ /dev/null @@ -1,10 +0,0 @@ -#!/bin/sh - -uci -q batch <<-EOF >/dev/null - delete ucitrack.@irqbalance[-1] - add ucitrack irqbalance - set ucitrack.@irqbalance[-1].init=irqbalance - commit ucitrack -EOF - -exit 0 diff --git a/applications/luci-app-irqbalance/root/usr/share/ucitrack/luci-app-irqbalance.json b/applications/luci-app-irqbalance/root/usr/share/ucitrack/luci-app-irqbalance.json new file mode 100644 index 0000000000..2c6b93f6e8 --- /dev/null +++ b/applications/luci-app-irqbalance/root/usr/share/ucitrack/luci-app-irqbalance.json @@ -0,0 +1,4 @@ +{ + "config": "irqbalance", + "init": "irqbalance" +}