Skip to content

armgit / ODS

Public Imported from GitHub
0

ODS V3 Pre-Release: Public testing and refinement ahead of the official V3 launch. Turn your PC, Mac, or Linux box into a private AI server.

395 B
Raw Blame
#!/bin/bash
set -eu
for key in MUMBLE_CONFIG_SERVER_PASSWORD MUMBLE_SUPERUSER_PASSWORD; do
  [[ ${!key:-} =~ ^[0-9a-fA-F]{64}$ ]] || { echo "$key must contain 64 hexadecimal characters" >&2; exit 1; }
done
[[ "$MUMBLE_CONFIG_SERVER_PASSWORD" != "$MUMBLE_SUPERUSER_PASSWORD" ]] || { echo 'Connection and administrator passwords must be distinct' >&2; exit 1; }
umask 077
exec /entrypoint.sh "$@"