From 195be030364bd776bb063e8ae990deced6454fd9 Mon Sep 17 00:00:00 2001 From: Audric Date: Fri, 20 Mar 2026 13:55:23 +0100 Subject: [PATCH] docs: remove redundant example in live reload section --- README.md | 25 ++++++------------------- 1 file changed, 6 insertions(+), 19 deletions(-) diff --git a/README.md b/README.md index 8c0d096..a6d94f9 100644 --- a/README.md +++ b/README.md @@ -315,24 +315,9 @@ When running in satellite mode: ## Live user/password reload Users and passwords can be updated at runtime **without restarting** via the -command PTY interface (enabled by default): - -```bash -# Add or update a user (maps callsign to a password group) -echo "CFG USERS SM0ABC MyGroup" > /dev/shm/reflector_ctrl - -# Add or update a password (sets the key for a password group) -echo "CFG PASSWORDS MyGroup s3cretP@ss" > /dev/shm/reflector_ctrl -``` - -The PTY path is set by `COMMAND_PTY` in `[GLOBAL]` (default -`/dev/shm/reflector_ctrl`). - -### Persisting across reboots - -PTY `CFG` commands only modify the **in-memory** configuration. They are lost -when the process restarts. To make changes permanent, **also update the config -file on disk**: +command PTY interface (enabled by default). PTY commands only modify the +**in-memory** configuration — to persist across reboots, also update the config +file on disk: ```bash # 1. Apply immediately (in-memory, takes effect now) @@ -340,7 +325,6 @@ echo "CFG USERS SM0ABC MyGroup" > /dev/shm/reflector_ctrl echo "CFG PASSWORDS MyGroup s3cretP@ss" > /dev/shm/reflector_ctrl # 2. Persist to disk (survives reboot) -# Edit the same values into svxreflector.conf: cat >> /etc/svxlink/svxreflector.conf <<'EOF' [USERS] @@ -355,6 +339,9 @@ Both steps are needed: the PTY gives you instant activation, the config file gives you persistence. If you only edit the file, changes take effect at next restart. +The PTY path is set by `COMMAND_PTY` in `[GLOBAL]` (default +`/dev/shm/reflector_ctrl`). + --- ## Documentation