mirror of
https://github.com/novatiq/packages.git
synced 2026-04-30 15:38:40 +01:00
adblock: adapt openwrt rc.common changes
* since openwrt master has merged the depending P/R, the old extra_help/extra_commands syntax is no longer working, see #13798 for reference * removed test.sh script from package Signed-off-by: Dirk Brenken <dev@brenken.org>
This commit is contained in:
@@ -8,14 +8,13 @@
|
||||
START=30
|
||||
USE_PROCD=1
|
||||
|
||||
EXTRA_COMMANDS="suspend resume query report list timer status_service version"
|
||||
EXTRA_HELP=" suspend Suspend adblock processing
|
||||
resume Resume adblock processing
|
||||
query <domain> Query active blocklists and backups for a specific domain
|
||||
report [<search>] Print DNS statistics with an optional search parameter
|
||||
list [[<add>|<remove>] [source(s)]] List available adblock sources or add/remove them from config
|
||||
timer <action> <hour> [<minute>] [<weekday>] Set a cron based update interval
|
||||
version print version information"
|
||||
extra_command "suspend" "Suspend adblock processing"
|
||||
extra_command "resume" "Resume adblock processing"
|
||||
extra_command "query" "<domain> Query active blocklists and backups for a specific domain"
|
||||
extra_command "report" "[<search>] Print DNS statistics with an optional search parameter"
|
||||
extra_command "list" "[[<add>|<remove>] [source(s)]] List available adblock sources or add/remove them from config"
|
||||
extra_command "timer" "<action> <hour> [<minute>] [<weekday>] Set a cron based update interval"
|
||||
extra_command "version" "Print version information"
|
||||
|
||||
adb_init="/etc/init.d/adblock"
|
||||
adb_script="/usr/bin/adblock.sh"
|
||||
|
||||
Reference in New Issue
Block a user