Add post args for youtubeUnblock

This commit is contained in:
Vadim Vetrov
2024-10-29 02:15:21 +03:00
parent 62d542d1f4
commit e764a20baa
3 changed files with 13 additions and 5 deletions

View File

@@ -97,6 +97,8 @@ o:depends("all_domains", 0)
o = s:option(DynamicList, "exclude_domains", "excluded domains", "List of domains to be excluded from targetting.")
o = s:option(Value, "post_args", "Post args", "Anything you pass here will be passed to youtubeUnblock as raw args")
local bs = m:section(NamedSection, "youtubeUnblock", "youtubeUnblock", "Service status")
local asts = sys.call("/etc/init.d/youtubeUnblock enabled &>/dev/null")