more cross playform method of waiting for master key
	modified:   scripts/bootstrap-master.sh
tested with centos 6, added tweaks for support.

	modified:   scripts/bootstrap-master.sh