File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 66include $(TOPDIR ) /rules.mk
77
88PKG_NAME: =luci-app-adguardhome
9- PKG_VERSION: =1.12
9+ PKG_VERSION: =1.13
1010PKG_MAINTAINER: =<https://github.com/stevenjoezhang/luci-app-adguardhome>
1111
1212LUCI_TITLE: =LuCI app for AdGuard Home
Original file line number Diff line number Diff 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}
501501test_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
You can’t perform that action at this time.
0 commit comments