hysteria

ii wrapper script
git clone git://git.2f30.org/hysteria
Log | Files | Refs | README | LICENSE

hysteria-waitfile (144B)


      1 #!/bin/sh
      2 
      3 if test -z $1; then
      4 	echo "usage: $(basename $0) file" 1>&2
      5 	exit 1
      6 fi
      7 
      8 while :; do
      9 	if test -e "$1"; then
     10 		break
     11 	fi
     12 	sleep 1
     13 done