Inspired by #449 but using read instead of mapfile to make it work with bash 3. Fixes #344.
Fixes #339
This script will, when installed as yadm's bootstrap script, run all executables in $YADM_DIR/bootstrap.d.