Skip to content
Permalink
Browse files

Fix syntax from if converted to while

  • Loading branch information...
NEMS Linux
NEMS Linux committed Mar 16, 2019
1 parent a020f4a commit 1609d0f259d69ced8400134fb5e66c6d01473070
Showing with 2 additions and 2 deletions.
  1. +2 −2 quickfix.sh
@@ -3,10 +3,10 @@ allowupdate=`/usr/local/bin/nems-info allowupdate`

# Wait for 90 seconds if system just booted
suptime=$(awk '{print $1}' /proc/uptime)
while [[ $suptime < 120 ]]; then
while [[ $suptime < 120 ]]; do
echo "System is still loading. Please wait..."
sleep 90
fi
done

# Just in case nems-quickfix is running
quickfix=$(/usr/local/bin/nems-info quickfix)

0 comments on commit 1609d0f

Please sign in to comment.
You can’t perform that action at this time.