luci-app-adguardhome: use new extra_command function definition
This commit is contained in:
parent
fc93f3b2a7
commit
089dbeffa9
@ -7,7 +7,7 @@ include $(TOPDIR)/rules.mk
|
|||||||
|
|
||||||
PKG_NAME:=luci-app-adguardhome
|
PKG_NAME:=luci-app-adguardhome
|
||||||
PKG_VERSION:=1.8
|
PKG_VERSION:=1.8
|
||||||
PKG_RELEASE:=11
|
PKG_RELEASE:=12
|
||||||
PKG_MAINTAINER:=<https://github.com/rufengsuixing/luci-app-adguardhome>
|
PKG_MAINTAINER:=<https://github.com/rufengsuixing/luci-app-adguardhome>
|
||||||
|
|
||||||
LUCI_TITLE:=LuCI app for AdGuardHome
|
LUCI_TITLE:=LuCI app for AdGuardHome
|
||||||
|
|||||||
@ -7,12 +7,13 @@ STOP=01
|
|||||||
|
|
||||||
CONFIGURATION=AdGuardHome
|
CONFIGURATION=AdGuardHome
|
||||||
CRON_FILE=/etc/crontabs/root
|
CRON_FILE=/etc/crontabs/root
|
||||||
EXTRA_COMMANDS="do_redirect testbackup test_crontab force_reload isrunning"
|
|
||||||
EXTRA_HELP=" do_redirect 0 or 1\
|
extra_command "do_redirect" "0 or 1"
|
||||||
testbackup backup or restore\
|
extra_command "testbackup" "backup or restore"
|
||||||
test_crontab
|
extra_command "test_crontab"
|
||||||
force_reload
|
extra_command "force_reload"
|
||||||
isrunning"
|
extra_command "isrunning"
|
||||||
|
|
||||||
set_forward_dnsmasq()
|
set_forward_dnsmasq()
|
||||||
{
|
{
|
||||||
local PORT="$1"
|
local PORT="$1"
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user