diff --git a/scripts/update/01-run.sh b/scripts/update/01-run.sh index 050e9dd..3615194 100755 --- a/scripts/update/01-run.sh +++ b/scripts/update/01-run.sh @@ -61,6 +61,8 @@ if [[ ! -z "${CITADEL_OS:-}" ]]; then # Apply config.txt changes curl https://raw.githubusercontent.com/runcitadel/os/main/stage1/00-boot-files/files/config.txt > /boot/config.txt + + echo "source ~/citadel/setenv" | tee -a /home/citadel/.bashrc fi # Checkout to the new release diff --git a/setenv b/setenv index 687e804..1f20355 100644 --- a/setenv +++ b/setenv @@ -6,10 +6,10 @@ CITADEL_ROOT="$(dirname $(readlink -f "${BASH_SOURCE[0]}"))" -echo "Citadel root directory is ${CITADEL_ROOT}" -alias update="${CITADEL_ROOT}/scripts/update/update" +alias citadel-update="${CITADEL_ROOT}/scripts/update/update" alias lncli="docker exec -it lnd lncli" alias bitcoin-cli="docker exec -it bitcoin bitcoin-cli" alias docker-compose="sudo docker compose" alias docker="sudo docker" alias debug="${CITADEL_ROOT}/scripts/debug" +alias app="${CITADEL_ROOT}/scripts/app"