From c80aac02b1251f3f772ab1036f64f4bc79f64ade Mon Sep 17 00:00:00 2001 From: bol-van Date: Tue, 31 Oct 2023 16:39:49 +0300 Subject: [PATCH] more compatible sleep --- common/base.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/base.sh b/common/base.sh index d8f7b40..ab1ecdc 100644 --- a/common/base.sh +++ b/common/base.sh @@ -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