tunneldigger: add group option to UCI config
The group can be used for policy routing and similar purposes. Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
This commit is contained in:
parent
f9403708f3
commit
21dd77f6c4
1 changed files with 2 additions and 0 deletions
|
@ -21,6 +21,7 @@ parse_broker() {
|
|||
config_get limit_bw_down "$section" limit_bw_down
|
||||
config_get hook_script "$section" hook_script
|
||||
config_get bind_interface "$section" bind_interface
|
||||
config_get group "$section" group
|
||||
|
||||
[ $enabled -eq 0 ] && return
|
||||
|
||||
|
@ -53,6 +54,7 @@ parse_broker() {
|
|||
procd_append_param command -i "${interface}"
|
||||
procd_append_param command -t "${tunnel_id}"
|
||||
procd_append_param command ${broker_opts}
|
||||
[ -n "$group" ] && procd_set_param group "$group"
|
||||
procd_set_param stdout 1
|
||||
procd_set_param stderr 1
|
||||
procd_set_param respawn
|
||||
|
|
Loading…
Reference in a new issue