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 <fe@dev.tdt.de>
This commit is contained in:
Florian Eckert
2024-04-11 11:36:51 +02:00
parent 15e355f9c9
commit 5320d967f8
2 changed files with 4 additions and 10 deletions

View File

@@ -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

View File

@@ -0,0 +1,4 @@
{
"config": "irqbalance",
"init": "irqbalance"
}