tvheadend: add noacl config option for server
Add support for --noacl option to disable all access control checks. Signed-off-by: Alexander Egorenkov <egorenar-dev@posteo.net>
This commit is contained in:
parent
9cc2107ece
commit
8b9e90d926
2 changed files with 3 additions and 0 deletions
|
@ -13,3 +13,4 @@ config tvheadend server
|
|||
# option htsp_port '9982'
|
||||
# option htsp_port2 '9983'
|
||||
# option xspf '0'
|
||||
# option noacl '0'
|
||||
|
|
|
@ -74,6 +74,8 @@ load_uci_config() {
|
|||
[ -n "$htsp_port2" ] && procd_append_param command --htsp_port "$htsp_port2"
|
||||
config_get xspf server xspf 0
|
||||
[ "$xspf" -eq 1 ] && procd_append_param command --xspf
|
||||
config_get noacl server noacl 0
|
||||
[ "$noacl" -eq 1 ] && procd_append_param command --noacl
|
||||
}
|
||||
|
||||
start_service() {
|
||||
|
|
Loading…
Reference in a new issue