allow variable overwrite

This commit is contained in:
Robert Kaussow 2020-02-03 22:53:02 +01:00
parent 99e603ed73
commit 5c19db4c9f
1 changed files with 3 additions and 3 deletions

View File

@ -1,7 +1,7 @@
#!/bin/sh
#!/usr/bin/env sh
WAITFOR_TIMEOUT=15
WAITFOR_QUIET=0
WAITFOR_TIMEOUT=${WAITFOR_TIMEOUT:-15}
WAITFOR_QUIET=${WAITFOR_QUIET:-0}
echoerr() {
if [ "$WAITFOR_QUIET" -ne 1 ]; then printf "%s\n" "$*" 1>&2; fi