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"