1
0
mirror of https://github.com/bol-van/zapret.git synced 2025-04-16 20:12:58 +03:00

more compatible sleep

This commit is contained in:
bol-van 2023-10-31 16:39:49 +03:00
parent 43d034fea1
commit c80aac02b1

@ -209,7 +209,7 @@ fsleep_setup()
if [ -z "$errtext" ]; then
FSLEEP=3
# newer openwrt has ucode with system function that supports timeout in ms
elif ucode -e "system(['sleep','infinity'], 1)"; then
elif ucode -e "system(['sleep','1'], 1)"; then
FSLEEP=4
else
FSLEEP=0