summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorMagnus Feuer <mfeuer@jaguarlandrover.com>2015-11-22 13:37:09 -0800
committerMagnus Feuer <mfeuer@jaguarlandrover.com>2015-11-22 13:37:09 -0800
commit5ea300f74d6af8ec02883c153834685f86ffb8ee (patch)
tree1c9cb39c3ff564de20f22d7c78f621360a3801c0 /scripts
parent15646255321f478dd53502cb26f60b26d1339cea (diff)
downloadrvi_core-5ea300f74d6af8ec02883c153834685f86ffb8ee.tar.gz
Set new default config dir to /etc/opt/rvi
Diffstat (limited to 'scripts')
-rw-r--r--scripts/rvi.sh5
1 files changed, 2 insertions, 3 deletions
diff --git a/scripts/rvi.sh b/scripts/rvi.sh
index e713784..b1bf79a 100644
--- a/scripts/rvi.sh
+++ b/scripts/rvi.sh
@@ -26,8 +26,7 @@ usage() {
echo
echo " -d config_dir Directory to put generated uuid 'device_id' file and"
echo " processed config files."
- echo " Defauts to the 'config' directory under the directory"
- echo " that rvi.sh resides in."
+ echo " Defauts to the '/etc/opt/rvi'."
echo
echo " -l log_dir The directory to store log files in."
echo " Defaults to '/tmp/rvi/[config]/log' where [config]"
@@ -68,7 +67,7 @@ while getopts "c:d:" o; do
esac
done
-CONFIG_DIR=${CONFIG_DIR:=${SELF_DIR}/config}
+CONFIG_DIR=${CONFIG_DIR:=/etc/opt/rvi}
shift $((${OPTIND}-1))
CMD=$1