tvheadend: add noacl config option for server
authorAlexander Egorenkov <redacted>
Sat, 26 Mar 2022 12:09:22 +0000 (13:09 +0100)
committerRosen Penev <redacted>
Thu, 7 Apr 2022 18:17:17 +0000 (11:17 -0700)
Add support for --noacl option to disable all access control checks.

Signed-off-by: Alexander Egorenkov <redacted>
multimedia/tvheadend/files/tvheadend.config
multimedia/tvheadend/files/tvheadend.init

index 4862d015901e7c03108c231dcfaa8c171b840abc..91b7526aaa7ee2b3751b557fe5603d53c50e599a 100644 (file)
@@ -13,3 +13,4 @@ config tvheadend server
 #       option htsp_port '9982'
 #       option htsp_port2 '9983'
 #       option xspf '0'
+#       option noacl '0'
index 9bf08aa45735c4977be0bd6d52aa77bc3e9591fe..b47d25c7d77b3fe8e8ed30e796d8e824f2fea96c 100644 (file)
@@ -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() {
git clone https://git.99rst.org/PROJECT