Skip to content

Instantly share code, notes, and snippets.

@ivbor7
Created April 10, 2020 15:05
Show Gist options
  • Save ivbor7/6c37fa3ce51a9989c9776761dfd6d62a to your computer and use it in GitHub Desktop.
Save ivbor7/6c37fa3ce51a9989c9776761dfd6d62a to your computer and use it in GitHub Desktop.
Check if the script exists and run it
while [ ! -f /tmp/wait-script.sh ]
do
sleep .2
done
chmod 755 /tmp/wait-script.sh; /tmp/wait-script.sh
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment