Miscellaneous system utilities.
Sleep for a number of seconds (or indefinitely).
Wait for file(s) to exist.
Wait for one or more files to exist, then exit.
Possibly wait using timeout. Exit 1 on time out.
Do nothing, but conform to the
/_dep_install/ pattern.
Wait for one or more files or directories.
Optionally using timeout.
- $1: list of file paths
- $2: timeout in seconds (optional)
- 0: success
- 1: time out
Sleep for number of seconds or indefinitely.
- $1: timeout in seconds. Empty means sleep forever.
- Non-zero on error.