This commit is contained in:
2025-09-28 17:29:27 +02:00
parent ae486ba4be
commit edc6fd46b7
2 changed files with 4 additions and 4 deletions

View File

@@ -3,20 +3,20 @@
Nachfolgend zwei **Copy-&-Paste Einzeiler** für Batocera, um den MeshAgent-Installer aus diesem Repo herunterzuladen und zu starten.
**RAW-URL des Installers:**
`https://git.familie-berner.de/Open/Installer/raw/branch/main/Batocera/MeshCentral.sh`
`https://git.familie-berner.de/Open/Installer/raw/branch/main/Batocera/MeshCentral/install-meshagent.sh`
---
## Option 1: Interaktiv (fragt URL & Token ab)
```bash
U=https://git.familie-berner.de/Open/Installer/raw/branch/main/Batocera/MeshCentral.sh ; (wget -qO /tmp/ima.sh "$U" || wget --no-proxy -qO /tmp/ima.sh "$U" || curl -fsSL "$U" -o /tmp/ima.sh) && sh /tmp/ima.sh
U=https://git.familie-berner.de/Open/Installer/raw/branch/main/Batocera/MeshCentral/install-meshagent.sh ; (wget -qO /tmp/ima.sh "$U" || wget --no-proxy -qO /tmp/ima.sh "$U" || curl -fsSL "$U" -o /tmp/ima.sh) && sh /tmp/ima.sh
```
## Option 2: Non-interaktiv (URL & Token direkt mitgeben)
```bash
U=https://git.familie-berner.de/Open/Installer/raw/branch/main/Batocera/MeshCentral.sh ; MC_URL=https://meshcentral.familie-berner.de ; MC_TOKEN='HIER-DEIN-TOKEN' ; (wget -qO /tmp/ima.sh "$U" || wget --no-proxy -qO /tmp/ima.sh "$U" || curl -fsSL "$U" -o /tmp/ima.sh) && printf '%s\n%s\n' "$MC_URL" "$MC_TOKEN" | sh /tmp/ima.sh
U=https://git.familie-berner.de/Open/Installer/raw/branch/main/Batocera/MeshCentral/install-meshagent.sh ; MC_URL=https://meshcentral.familie-berner.de ; MC_TOKEN='HIER-DEIN-TOKEN' ; (wget -qO /tmp/ima.sh "$U" || wget --no-proxy -qO /tmp/ima.sh "$U" || curl -fsSL "$U" -o /tmp/ima.sh) && printf '%s\n%s\n' "$MC_URL" "$MC_TOKEN" | sh /tmp/ima.sh
```
> **Hinweise**

View File

@@ -100,7 +100,7 @@ cd "$BASE"
if [ -f "$LOG" ] && [ "$(wc -c <"$LOG")" -gt 5242880 ]; then
mv "$LOG" "$LOG.1" 2>/dev/null || true
fi
./meshagent -noinstall >>"$LOG" 2>&1 &
./meshagent start >>"$LOG" 2>&1 &
EOF
chmod +x "${MESH_BASE}/start.sh"
}