Source identity
| Field | Recorded value |
|---|---|
| Source type | GitHub source |
| Original record | Janady13/AI_Brain_Control / scripts/run_preset.sh |
| Date | Not specified in source |
| Repository | Janady13/AI_Brain_Control |
| Revision | 38c95c6b67d12a7096301e2eaa2892c027e411d7 |
| Branch | main |
| Path or archive member | scripts/run_preset.sh |
| Original SHA-256 | 3d9bdccf35594fbb040d97a3b936f6a31c9987b92eb9505c85c2469ede5b6ded |
| Git blob SHA | ed2e0d3074a5d017aa12ec317abbb83b5f64518a |
| Reading-copy SHA-256 | 3d9bdccf35594fbb040d97a3b936f6a31c9987b92eb9505c85c2469ede5b6ded |
Recovered source transcript
Download complete source text ↓14 lines · 0.5 KB
#!/bin/bash
set -euo pipefail
PRESET="${1:-}"; TOTAL="${2:-}"
if [ -z "$PRESET" ]; then echo "Usage: $0 <nvme|ssd|hdd> [TOTAL_SHARDS]"; exit 1; fi
BRAIN_DIR="$(cd "$(dirname "$0")/.." && pwd)"
ENV_FILE="$BRAIN_DIR/scripts/presets/${PRESET}.env"
[ -f "$ENV_FILE" ] || { echo "Unknown preset: $PRESET"; exit 1; }
set -a
# shellcheck disable=SC1090
source "$ENV_FILE"
set +a
if [ -n "${TOTAL:-}" ]; then TOTAL_SHARDS="$TOTAL"; export TOTAL_SHARDS; fi
exec "$BRAIN_DIR/scripts/orchestrate_body_brain.sh"