summaryrefslogtreecommitdiffhomepage
path: root/applications
diff options
context:
space:
mode:
authorFlorian Eckert <fe@dev.tdt.de>2020-02-26 08:56:35 +0100
committerGitHub <noreply@github.com>2020-02-26 08:56:35 +0100
commitcad1a5940c78df88dfc3051409df596aefb32647 (patch)
tree65a31d2514096fa2c8ca3d5c5d6d8ae5a0c3a709 /applications
parent6f25822f4aed90e86c23a3644ca6fc04d5b8d36c (diff)
parent6709d3a355e6723b8a2ae4f5354c3e917d1b7ac8 (diff)
Merge pull request #3679 from rwanyoike/patch-1
luci-app-aria2: fix incorrect "Extra Settings" section option name
Diffstat (limited to 'applications')
-rw-r--r--applications/luci-app-aria2/luasrc/model/cbi/aria2/config.lua2
-rwxr-xr-xapplications/luci-app-aria2/root/etc/uci-defaults/40_luci-aria22
2 files changed, 2 insertions, 2 deletions
diff --git a/applications/luci-app-aria2/luasrc/model/cbi/aria2/config.lua b/applications/luci-app-aria2/luasrc/model/cbi/aria2/config.lua
index 88068c1365..3927b1765e 100644
--- a/applications/luci-app-aria2/luasrc/model/cbi/aria2/config.lua
+++ b/applications/luci-app-aria2/luasrc/model/cbi/aria2/config.lua
@@ -484,7 +484,7 @@ s = m:section(NamedSection, "main", "aria2", translate("Extra Settings"),
s.addremove = false
s.anonymous = true
-o = s:option(DynamicList, "extra_setting", translate("Settings list"),
+o = s:option(DynamicList, "extra_settings", translate("Settings list"),
translate("List of extra settings. Format: option=value, eg. <code>netrc-path=/tmp/.netrc</code>."))
o.placeholder = "option=value"
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 97ea9ca27c..becc1c6995 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