summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-app-aria2/root
diff options
context:
space:
mode:
authorRaymond <raymond.wanyoike@gmail.com>2020-02-25 23:14:14 +0300
committerRaymond Wanyoike <raymond.wanyoike@gmail.com>2020-02-25 23:26:12 +0300
commit6709d3a355e6723b8a2ae4f5354c3e917d1b7ac8 (patch)
tree65a31d2514096fa2c8ca3d5c5d6d8ae5a0c3a709 /applications/luci-app-aria2/root
parent6f25822f4aed90e86c23a3644ca6fc04d5b8d36c (diff)
luci-app-aria2: fix incorrect "Extra Settings" section option name
The "Extra Settings" section `extra_setting` option name does not match what the `net/aria2` package expects. See: - https://github.com/openwrt/packages/blob/openwrt-19.07/net/aria2/files/aria2.init#L311 - https://github.com/openwrt/packages/blob/openwrt-19.07/net/aria2/files/aria2.conf#L31 Causing the luci UI "Extra Settings" option to have no effect. This fix renames `extra_setting` => `extra_settings`. Signed-off-by: Raymond Wanyoike <raymond.wanyoike@gmail.com>
Diffstat (limited to 'applications/luci-app-aria2/root')
-rwxr-xr-xapplications/luci-app-aria2/root/etc/uci-defaults/40_luci-aria22
1 files changed, 1 insertions, 1 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 97ea9ca27..becc1c699 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
@@ -9,7 +9,7 @@ if [ ."$(uci -q get aria2.main)" != ."aria2" ]; then
set aria2.main.config_dir="/var/etc/aria2"
add_list aria2.main.header=""
add_list aria2.main.bt_tracker=""
- add_list aria2.main.extra_setting=""
+ add_list aria2.main.extra_settings=""
commit aria2
EOF
fi