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 @@ -7,7 +7,7 @@ include $(TOPDIR)/rules.mk
77
88PKG_NAME: =adblock
99PKG_VERSION: =4.4.5
10- PKG_RELEASE: =1
10+ PKG_RELEASE: =2
1111PKG_LICENSE: =GPL-3.0-or-later
1212PKG_MAINTAINER: =Dirk Brenken <dev@brenken.org>
1313
Original file line number Diff line number Diff line change @@ -531,7 +531,7 @@ f_rmdns() {
531531f_uci () {
532532 local config=" ${1} "
533533
534- if [ -n " ${config} " ]; then
534+ if [ -n " $( uci -q changes " $ {config}" ) " ]; then
535535 uci_commit " ${config} "
536536 case " ${config} " in
537537 " firewall" )
@@ -1027,11 +1027,11 @@ f_switch() {
10271027 elif [ " ${status} " = " paused" ] && [ " ${mode} " = " resume" ]; then
10281028 if [ " ${adb_dnsshift} " = " 0" ] && [ -f " ${adb_backupdir} /${adb_dnsfile} " ]; then
10291029 mv -f " ${adb_backupdir} /${adb_dnsfile} " " ${adb_finaldir} /${adb_dnsfile} "
1030- f_count " switch " " ${adb_finaldir} /${adb_dnsfile} "
1030+ f_count " final " " ${adb_finaldir} /${adb_dnsfile} "
10311031 done=" true"
10321032 elif [ " ${adb_dnsshift} " = " 1" ] && [ ! -L " ${adb_finaldir} /${adb_dnsfile} " ]; then
10331033 ln -fs " ${adb_finaldir} /${adb_dnsfile} " " ${adb_dnsdir} /${adb_dnsfile} "
1034- f_count " switch " " ${adb_finaldir} /${adb_dnsfile} "
1034+ f_count " final " " ${adb_finaldir} /${adb_dnsfile} "
10351035 done=" true"
10361036 fi
10371037 fi
@@ -1040,7 +1040,7 @@ f_switch() {
10401040 f_jsnup " ${mode} "
10411041 f_log " info" " ${mode} adblock service"
10421042 else
1043- f_count " switch " " ${adb_finaldir} /${adb_dnsfile} "
1043+ f_count " final " " ${adb_finaldir} /${adb_dnsfile} "
10441044 f_jsnup " ${status} "
10451045 fi
10461046 f_rmtemp
You can’t perform that action at this time.
0 commit comments