upd
This commit is contained in:
@@ -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**
|
||||
@@ -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"
|
||||
}
|
||||
Reference in New Issue
Block a user