From 5cc44298148b286cc041b69247994315968c0f7f Mon Sep 17 00:00:00 2001 From: Braiden Vasco Date: Sat, 24 Mar 2018 01:37:29 +0000 Subject: [PATCH] Add configuration file --- .gitignore | 2 ++ run | 4 ++++ 2 files changed, 6 insertions(+) diff --git a/.gitignore b/.gitignore index ed28804..f63fdb7 100644 --- a/.gitignore +++ b/.gitignore @@ -1,5 +1,7 @@ /deploy/ /rootfs/ +/config.sh + .pc *-pc diff --git a/run b/run index 17684bb..3c3ae8c 100755 --- a/run +++ b/run @@ -8,6 +8,10 @@ export IMG_NAME='BarnacleOS' export USERNAME='user' export PASSWORD='password' +if [ -f "$BASE_DIR/config.sh" ]; then + source "$BASE_DIR/config.sh" +fi + export DEPLOY_DIR="$BASE_DIR/deploy" export ROOTFS_DIR="$BASE_DIR/rootfs" export KEYS_DIR="$BASE_DIR/keys"