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.

268 B
Raw Blame
#!/bin/sh
set -eu
case "${ADMIN_TOKEN:-}" in
  ''|*[!0-9a-fA-F]*) echo 'ADMIN_TOKEN must contain 64 hexadecimal characters' >&2; exit 1 ;;
esac
if [ "${#ADMIN_TOKEN}" -ne 64 ]; then
  echo 'ADMIN_TOKEN must contain 64 hexadecimal characters' >&2
  exit 1
fi
exec "$@"