provision.sh: use CONFIG_DIR, test for it, and use for shells