update-03.03

This commit is contained in:
github-actions[bot] 2022-03-03 10:54:40 +08:00
parent c424930c0b
commit 11f8cc760e
2 changed files with 4 additions and 3 deletions

View File

@ -1,6 +1,6 @@
config global
option primary '#787399'
option dark_primary '#787399'
option primary '#5e72e4'
option dark_primary ' #483d8b'
option blur '10'
option blur_dark '10'
option transparency '0.5'

View File

@ -54,10 +54,11 @@ reload_service() {
}
setcron() {
touch $CRON_FILE
sed -i '/mosupdater.sh/d' $CRON_FILE 2>/dev/null && {
[ "$(uci -q get mosdns.mosdns.geo_auto_update)" -eq 1 ] && echo "0 $(uci -q get mosdns.mosdns.geo_update_day_time) * * $(uci -q get mosdns.mosdns.geo_update_week_time) /etc/mosdns/mosupdater.sh" >>$CRON_FILE
}
/etc/init.d/cron restart
crontab $CRON_FILE
}
delcron() {