summaryrefslogtreecommitdiff
path: root/kvmd/apps/otg/__init__.py
diff options
context:
space:
mode:
authorDevaev Maxim <[email protected]>2020-10-05 07:35:11 +0300
committerDevaev Maxim <[email protected]>2020-10-05 07:35:11 +0300
commit6c167f121b82c391384fe1ecd99b651896ddf03d (patch)
tree3983a532bf2a3911abf1a0428c6b05aee30c7b34 /kvmd/apps/otg/__init__.py
parent9bd129f70b1837517cf16f14e104e59d6f4fe12c (diff)
more options
Diffstat (limited to 'kvmd/apps/otg/__init__.py')
-rw-r--r--kvmd/apps/otg/__init__.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/kvmd/apps/otg/__init__.py b/kvmd/apps/otg/__init__.py
index e14dd895..50c5b836 100644
--- a/kvmd/apps/otg/__init__.py
+++ b/kvmd/apps/otg/__init__.py
@@ -189,7 +189,7 @@ def _cmd_start(config: Section) -> None:
config_path = join(gadget_path, "configs/c.1")
_mkdir(config_path)
_mkdir(join(config_path, "strings/0x409"))
- _write(join(config_path, "strings/0x409/configuration"), "Config 1: Pi-KVM device")
+ _write(join(config_path, "strings/0x409/configuration"), f"Config 1: {config.otg.config}")
_write(join(config_path, "MaxPower"), str(config.otg.max_power))
if config.otg.devices.serial.enabled: