blob: 9627f074f687f786a7cc1dc64a5fab6c1fa4f3f2 [file] [log] [blame]
#!/bin/bash
# Copyright 2015 The Vanadium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style
# license that can be found in the LICENSE file.
readonly DIR=$(dirname $0)
export V23_CREDENTIALS="${DIR}/credentials"
main() {
if [[ -d "${DIR}/credentials" ]]
then
${JIRI_ROOT}/release/go/bin/agentd bash
else
${JIRI_ROOT}/release/go/bin/agentd bash -c "${JIRI_ROOT}/release/go/bin/principal seekblessings && exec bash"
fi
}
main "$@"