19 lines
383 B
Bash
Executable File
19 lines
383 B
Bash
Executable File
#!/bin/bash
|
|
|
|
# Immediately catch all errors
|
|
set -eo pipefail
|
|
|
|
# Uncomment for debugging
|
|
# set -x
|
|
# env
|
|
|
|
# Enable autocomplete for user
|
|
cp /etc/skel/.bashrc ~/
|
|
|
|
# Check if srv folder exists
|
|
if [ -d "$ROOT_SRV" ]; then
|
|
# Setup Nav2 web app
|
|
for dir in $OVERLAY_WS/src/navigation2/.devcontainer/caddy/srv/*; \
|
|
do if [ -d "$dir" ]; then ln -s "$dir" $ROOT_SRV; fi done
|
|
fi
|