#!/bin/sh # # Copyright (C) 2014, Jaguar Land Rover # # This program is licensed under the terms and conditions of the # Mozilla Public License, version 2.0. The full text of the # Mozilla Public License is at https://www.mozilla.org/MPL/2.0/ # # # Launch an RVI node using the build directories # For now this is a simple wrapper around the installer SELF_DIR=$(dirname $(readlink -f "$0")) PRIV_DIR=$(dirname ${SELF_DIR})/priv TARGET_DIR="" ROOT_CERT="${PRIV_DIR}/certificates/insecure_root_cert.crt" DEVICE_CERT="${PRIV_DIR}/certificates/insecure_device_cert.crt" DEVICE_KEY="${PRIV_DIR}/keys/insecure_device_key.pem" DEVICE_CRED="${PRIV_DIR}/credentials/insecure_credential.jwt" usage() { cat < /tmp/dev_install.log if [ "${?}" != "0" ] then echo "ERROR: Devevelop install failed:" cat /tmp/dev_install.log exit 255 fi /tmp/rvi_dev/rvi_core/rvi_ctl -c ${CONFIG_FILE} console