update-03.03
This commit is contained in:
parent
c424930c0b
commit
11f8cc760e
|
@ -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'
|
||||
|
|
|
@ -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() {
|
||||
|
|
Loading…
Reference in New Issue