Selaa lähdekoodia

Update S99opkg

garypang13 5 vuotta sitten
vanhempi
sitoutus
9e236723c4
1 muutettua tiedostoa jossa 2 lisäystä ja 0 poistoa
  1. 2 0
      devices/common/files/etc/rc.d/S99opkg

+ 2 - 0
devices/common/files/etc/rc.d/S99opkg

@@ -93,7 +93,9 @@ function opkgupgrade() {
 	done
 	done
 }
 }
 opkgupgrade
 opkgupgrade
+[[ -f /etc/init.d/adblock && "$(uci get adblock.global.adb_report)" == '1' && "$(uci get adblock.global.adb_enabled)" == '1' ]] && {
 /etc/init.d/adblock report
 /etc/init.d/adblock report
+}
 
 
 [[ -f "/bin/coremark" && ! -f "/etc/bench.log" ]] && {
 [[ -f "/bin/coremark" && ! -f "/etc/bench.log" ]] && {
 	sleep 5
 	sleep 5