summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-app-irqbalance/root/etc/uci-defaults
diff options
context:
space:
mode:
Diffstat (limited to 'applications/luci-app-irqbalance/root/etc/uci-defaults')
-rw-r--r--applications/luci-app-irqbalance/root/etc/uci-defaults/90_luci-irqbalance10
1 files changed, 10 insertions, 0 deletions
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
new file mode 100644
index 0000000000..e6ec84c4db
--- /dev/null
+++ b/applications/luci-app-irqbalance/root/etc/uci-defaults/90_luci-irqbalance
@@ -0,0 +1,10 @@
+#!/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