mirror of
https://github.com/legop3/MultiRoombaRover.git
synced 2026-09-15 17:12:59 -04:00
always copy mmtx config. should be universsal.
This commit is contained in:
@@ -63,8 +63,8 @@ tar -xzf "$tmpdir/mediamtx.tgz" -C "$tmpdir" mediamtx
|
|||||||
install -m 0755 "$tmpdir/mediamtx" "$MEDIAMTX_BIN"
|
install -m 0755 "$tmpdir/mediamtx" "$MEDIAMTX_BIN"
|
||||||
|
|
||||||
mkdir -p "$MEDIAMTX_CONF_DIR"
|
mkdir -p "$MEDIAMTX_CONF_DIR"
|
||||||
if [[ ! -f "$MEDIAMTX_CONFIG" ]]; then
|
# if [[ ! -f "$MEDIAMTX_CONFIG" ]]; then
|
||||||
cat > "$MEDIAMTX_CONFIG" <<'CFG'
|
cat > "$MEDIAMTX_CONFIG" <<'CFG'
|
||||||
logLevel: info
|
logLevel: info
|
||||||
api: yes
|
api: yes
|
||||||
apiAddress: 0.0.0.0:9997
|
apiAddress: 0.0.0.0:9997
|
||||||
|
|||||||
Reference in New Issue
Block a user