diff options
author | Van Waholtz <vanwaholtz@gmail.com> | 2020-07-28 07:14:52 -0700 |
---|---|---|
committer | Van Waholtz <vanwaholtz@gmail.com> | 2021-11-17 15:36:41 +0800 |
commit | 9dda104ee7136d805dfb3ab965f020b21cdea3bc (patch) | |
tree | 05134587d021211a6dff4d197b95f064c736fcb7 /applications/luci-app-aria2/root/etc | |
parent | 8d35d78c61782b393e2f0a9aebb9ae91abca3a2c (diff) |
luci-app-aria2: convert to client side
Signed-off-by: Van Waholtz <vanwaholtz@gmail.com>
Diffstat (limited to 'applications/luci-app-aria2/root/etc')
-rwxr-xr-x | applications/luci-app-aria2/root/etc/uci-defaults/40_luci-aria2 | 17 |
1 files changed, 0 insertions, 17 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 deleted file mode 100755 index becc1c6995..0000000000 --- a/applications/luci-app-aria2/root/etc/uci-defaults/40_luci-aria2 +++ /dev/null @@ -1,17 +0,0 @@ -#!/bin/sh - -if [ ."$(uci -q get aria2.main)" != ."aria2" ]; then - uci -q batch <<-EOF >/dev/null - add aria2 aria2 - rename aria2.@aria2[-1]="main" - set aria2.main.enabled=0 - set aria2.main.dir="/var/run/aria2" - set aria2.main.config_dir="/var/etc/aria2" - add_list aria2.main.header="" - add_list aria2.main.bt_tracker="" - add_list aria2.main.extra_settings="" - commit aria2 - EOF -fi - -exit 0 |