From 337435b12803f375cf737f929b4552f77ccd394b Mon Sep 17 00:00:00 2001 From: legop3 Date: Mon, 10 Nov 2025 15:43:01 -0500 Subject: [PATCH] update sh script --- docs/pi-deployment.md | 2 +- pi/install_roverd.sh | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/pi-deployment.md b/docs/pi-deployment.md index dec1db4d..5685fb53 100644 --- a/docs/pi-deployment.md +++ b/docs/pi-deployment.md @@ -41,7 +41,7 @@ Flags: | `-b PATH` | use a different roverd binary (defaults to `dist/roverd`) | | `-c PATH` | seed `/etc/roverd.yaml` from another template | | `--mediamtx` | download/install mediaMTX plus the provided config + unit | -| `--mediamtx-version X.Y.Z` | override the mediaMTX release tag (default `1.8.6`) | +| `--mediamtx-version X.Y.Z` | override the mediaMTX release tag (default `1.15.3`) | If the script installs the sample config, it will remind you to edit `/etc/roverd.yaml` before manually restarting the service: set `name`, `serverUrl`, serial device, BRC pin, battery thresholds, and the WHEP URL that the central server should expose. diff --git a/pi/install_roverd.sh b/pi/install_roverd.sh index 0f949d81..06a236e5 100755 --- a/pi/install_roverd.sh +++ b/pi/install_roverd.sh @@ -7,7 +7,7 @@ set -euo pipefail BINARY_SRC="dist/roverd" CONFIG_SRC="pi/roverd/roverd.sample.yaml" INSTALL_MEDIAMTX=0 -MEDIAMTX_VERSION="1.8.6" +MEDIAMTX_VERSION="1.15.3" usage() { cat <<'USAGE' @@ -18,7 +18,7 @@ Options: -c, --config Source config to install if /etc/roverd.yaml is missing (default: pi/roverd/roverd.sample.yaml) --mediamtx Install/download mediaMTX (binary, config, systemd unit) - --mediamtx-version Override mediaMTX release tag (default: 1.8.6) + --mediamtx-version Override mediaMTX release tag (default: 1.15.3) -h, --help Show this help text The script must run from the repository root and as root (sudo). It will: