summaryrefslogtreecommitdiffhomepage
path: root/applications
diff options
context:
space:
mode:
Diffstat (limited to 'applications')
-rwxr-xr-xapplications/luci-app-sqm/root/etc/uci-defaults/50-luci-sqm12
-rw-r--r--applications/luci-app-sqm/root/usr/share/ucitrack/luci-app-sqm.json7
2 files changed, 7 insertions, 12 deletions
diff --git a/applications/luci-app-sqm/root/etc/uci-defaults/50-luci-sqm b/applications/luci-app-sqm/root/etc/uci-defaults/50-luci-sqm
deleted file mode 100755
index b3aa47c6da..0000000000
--- a/applications/luci-app-sqm/root/etc/uci-defaults/50-luci-sqm
+++ /dev/null
@@ -1,12 +0,0 @@
-#!/bin/sh
-
-uci -q batch <<-EOF >/dev/null
- delete ucitrack.@sqm[-1]
- add ucitrack sqm
- set ucitrack.@sqm[-1].init=sqm
- del_list ucitrack.@firewall[0].affects=sqm
- add_list ucitrack.@firewall[0].affects=sqm
- commit ucitrack
-EOF
-
-exit 0
diff --git a/applications/luci-app-sqm/root/usr/share/ucitrack/luci-app-sqm.json b/applications/luci-app-sqm/root/usr/share/ucitrack/luci-app-sqm.json
new file mode 100644
index 0000000000..ea72acf226
--- /dev/null
+++ b/applications/luci-app-sqm/root/usr/share/ucitrack/luci-app-sqm.json
@@ -0,0 +1,7 @@
+{
+ "config": "sqm",
+ "init": "sqm",
+ "affects": [
+ "sqm"
+ ]
+}