summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-app-aria2/root
diff options
context:
space:
mode:
authorRichard Yu <yurichard3839@gmail.com>2019-12-03 23:09:34 +0800
committerJo-Philipp Wich <jo@mein.io>2019-12-25 18:02:54 +0100
commit814ad96df9634f39cb793c31d55b0351f88fadff (patch)
treea5451413f9db957cc97c38fa92ae54d0ef334d98 /applications/luci-app-aria2/root
parent185b84bc9d924780fd390bb3cfd69066c3044dfc (diff)
treewide: remove useless ucitrack definitions
Signed-off-by: Richard Yu <yurichard3839@gmail.com>
Diffstat (limited to 'applications/luci-app-aria2/root')
-rwxr-xr-xapplications/luci-app-aria2/root/etc/uci-defaults/40_luci-aria27
1 files changed, 0 insertions, 7 deletions
diff --git a/applications/luci-app-aria2/root/etc/uci-defaults/40_luci-aria2 b/applications/luci-app-aria2/root/etc/uci-defaults/40_luci-aria2
index fc6190d5ac..a6b485a5c8 100755
--- a/applications/luci-app-aria2/root/etc/uci-defaults/40_luci-aria2
+++ b/applications/luci-app-aria2/root/etc/uci-defaults/40_luci-aria2
@@ -1,12 +1,5 @@
#!/bin/sh
-uci -q batch <<-EOF >/dev/null
- delete ucitrack.@aria2[-1]
- add ucitrack aria2
- set ucitrack.@aria2[-1].init=aria2
- commit ucitrack
-EOF
-
if [ ."$(uci -q get aria2.main)" != ."aria2" ]; then
uci -q batch <<-EOF >/dev/null
add aria2 aria2