luci-app-aria2: fix incorrect "Extra Settings" section option name
authorRaymond <raymond.wanyoike@gmail.com>
Tue, 25 Feb 2020 20:14:14 +0000 (23:14 +0300)
committerJo-Philipp Wich <jo@mein.io>
Fri, 6 Nov 2020 23:33:15 +0000 (00:33 +0100)
commitabf69501ab48032b34b8e1d8cf5449a98d8ce8bb
tree3bcb874c2ce51731bd6ed895a32a855d6ea5ad31
parent11e411ad2eef420e681bf3436d5c122b27404b36
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>
(cherry picked from commit 6709d3a355e6723b8a2ae4f5354c3e917d1b7ac8)
applications/luci-app-aria2/luasrc/model/cbi/aria2/config.lua
applications/luci-app-aria2/root/etc/uci-defaults/40_luci-aria2