iniscript: Make sure the cache has enough time to save to disk

This commit is contained in:
Nick Peng
2022-07-01 22:38:37 +08:00
parent e3436263d9
commit 435b2905cf
2 changed files with 2 additions and 2 deletions

View File

@@ -339,7 +339,7 @@ case "$1" in
SLEEP="sleep"
SLEEPTIME=0.2
fi
N=30
N=300
while [ $N -gt 0 ]
do
pid="$(cat "$SMARTDNS_PID" | head -n 1 2>/dev/null)"