mirror of
https://github.com/raspiblitz/raspiblitz.git
synced 2025-09-27 20:16:22 +02:00
save space
This commit is contained in:
@@ -165,8 +165,9 @@ while :
|
|||||||
else
|
else
|
||||||
# when takes longer display error
|
# when takes longer display error
|
||||||
uptimeSeconds="$(cat /proc/uptime | grep -o '^[0-9]\+')"
|
uptimeSeconds="$(cat /proc/uptime | grep -o '^[0-9]\+')"
|
||||||
if [ ${uptimeSeconds} -gt 120 ]; then
|
if [ ${uptimeSeconds} -gt 30 ]; then
|
||||||
l2="---> ${clienterror}\n"
|
clienterror=$(echo "${clienterror/error*:/}")
|
||||||
|
l2="---> ${clienterror}\n"
|
||||||
boxwidth=70
|
boxwidth=70
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
Reference in New Issue
Block a user