diff --git a/.devcontainer/scripts/setup.sh b/.devcontainer/scripts/setup.sh index 0f75f26a..70faafe0 100755 --- a/.devcontainer/scripts/setup.sh +++ b/.devcontainer/scripts/setup.sh @@ -144,7 +144,7 @@ configure_source() { sleep 0.2 done sudo chmod 777 /opt/venv/lib/python3.12/site-packages/ && \ - sudo chmod 005 /opt/venv/lib/python3.12/site-packages/ + sudo chmod 005 /opt/venv/lib/python3.12/site-packages/ sudo chmod 666 /var/run/docker.sock echo " -> Updating build timestamp" diff --git a/install/production-filesystem/services/scripts/check-nonpersistent-storage.sh b/install/production-filesystem/services/scripts/check-nonpersistent-storage.sh index cef40a2f..2e59e20d 100644 --- a/install/production-filesystem/services/scripts/check-nonpersistent-storage.sh +++ b/install/production-filesystem/services/scripts/check-nonpersistent-storage.sh @@ -1,6 +1,11 @@ #!/bin/sh # check-storage-extra.sh - ensure additional NetAlertX directories are persistent mounts. + +if [ "${NETALERTX_DEBUG}" == "1" ]; then + exit 0 +fi + warn_if_not_persistent_mount() { path="$1" label="$2"