Skip to content

Commit 5f3cdc6

Browse files
Release v1.13
1 parent fc9f6d2 commit 5f3cdc6

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
include $(TOPDIR)/rules.mk
77

88
PKG_NAME:=luci-app-adguardhome
9-
PKG_VERSION:=1.12
9+
PKG_VERSION:=1.13
1010
PKG_MAINTAINER:=<https://github.com/stevenjoezhang/luci-app-adguardhome>
1111

1212
LUCI_TITLE:=LuCI app for AdGuard Home

root/etc/init.d/AdGuardHome

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -358,7 +358,7 @@ start_service() {
358358
local ipst=0
359359
config_get_bool enabled $CONFIGURATION enabled 0
360360
# update crontab
361-
do_crontab
361+
update_crontab
362362
echo "luci enable switch=$enabled"
363363
if [ "$enabled" == "0" ]; then
364364
_do_redirect 0
@@ -483,7 +483,7 @@ stop_service()
483483
{
484484
config_load "${CONFIGURATION}"
485485
_do_redirect 0
486-
do_crontab
486+
update_crontab
487487
if [ "$1" != "nobackup" ]; then
488488
config_get backupfile $CONFIGURATION backupfile "0"
489489
if [ -n "$backupfile" ]; then
@@ -500,9 +500,9 @@ boot() {
500500
}
501501
test_crontab(){
502502
config_load "${CONFIGURATION}"
503-
do_crontab
503+
update_crontab
504504
}
505-
do_crontab(){
505+
update_crontab(){
506506
config_get_bool enabled $CONFIGURATION enabled 0
507507
config_get crontab $CONFIGURATION crontab ""
508508
local findstr default cronenable replace

0 commit comments

Comments
 (0)