docs: remove redundant example in live reload section

This commit is contained in:
Audric committed 2026-03-20 13:55:23 +01:00
1 parent 551cfa70cd
commit 195be03036
1 file changed
+6 -19
+6 -19
View File
@@ -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