mirror of
https://github.com/coolsnowwolf/packages.git
synced 2025-05-01 19:29:51 +08:00
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
ec56b942a6
commit
71f3eeead9
@ -13,3 +13,4 @@ config tvheadend server
|
|||||||
# option htsp_port '9982'
|
# option htsp_port '9982'
|
||||||
# option htsp_port2 '9983'
|
# option htsp_port2 '9983'
|
||||||
# option xspf '0'
|
# option xspf '0'
|
||||||
|
# option noacl '0'
|
||||||
|
@ -74,6 +74,8 @@ load_uci_config() {
|
|||||||
[ -n "$htsp_port2" ] && procd_append_param command --htsp_port "$htsp_port2"
|
[ -n "$htsp_port2" ] && procd_append_param command --htsp_port "$htsp_port2"
|
||||||
config_get xspf server xspf 0
|
config_get xspf server xspf 0
|
||||||
[ "$xspf" -eq 1 ] && procd_append_param command --xspf
|
[ "$xspf" -eq 1 ] && procd_append_param command --xspf
|
||||||
|
config_get noacl server noacl 0
|
||||||
|
[ "$noacl" -eq 1 ] && procd_append_param command --noacl
|
||||||
}
|
}
|
||||||
|
|
||||||
start_service() {
|
start_service() {
|
||||||
|
Loading…
Reference in New Issue
Block a user