luci-app-shadowsocks-libev: allow setting plugin options
Reference: https://github.com/openwrt/packages/issues/8903 Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
This commit is contained in:
parent
e9232f6113
commit
263dc01f03
1 changed files with 4 additions and 0 deletions
|
@ -117,6 +117,8 @@ function options_common(s, tab)
|
||||||
o.datatype = "uinteger"
|
o.datatype = "uinteger"
|
||||||
o = s:taboption(tab, Value, "timeout", translate("Timeout (sec)"))
|
o = s:taboption(tab, Value, "timeout", translate("Timeout (sec)"))
|
||||||
o.datatype = "uinteger"
|
o.datatype = "uinteger"
|
||||||
|
s:taboption(tab, Value, "plugin", translate("Plugin"))
|
||||||
|
s:taboption(tab, Value, "plugin_opts", translate("Plugin Options"))
|
||||||
s:taboption(tab, Value, "user", translate("Run as"))
|
s:taboption(tab, Value, "user", translate("Run as"))
|
||||||
|
|
||||||
s:taboption(tab, Flag, "verbose", translate("Verbose"))
|
s:taboption(tab, Flag, "verbose", translate("Verbose"))
|
||||||
|
@ -228,6 +230,8 @@ names_options_common = {
|
||||||
"mode",
|
"mode",
|
||||||
"mtu",
|
"mtu",
|
||||||
"timeout",
|
"timeout",
|
||||||
|
"plugin",
|
||||||
|
"plugin_opts",
|
||||||
"user",
|
"user",
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue