summaryrefslogtreecommitdiff
path: root/kvmd/apps/otg/__init__.py
diff options
context:
space:
mode:
authorMaxim Devaev <[email protected]>2022-04-02 10:19:29 +0300
committerMaxim Devaev <[email protected]>2022-04-02 10:39:50 +0300
commitbd8984dd0633d953f09a9f09e0d6bf9999e9c4db (patch)
treea4afcc37b6118671ee04992ab5f3ab3750d8c2ef /kvmd/apps/otg/__init__.py
parentf1e9f33c137ef7f46563b69e892959435425b498 (diff)
otgconf gpio plugin
Diffstat (limited to 'kvmd/apps/otg/__init__.py')
-rw-r--r--kvmd/apps/otg/__init__.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/kvmd/apps/otg/__init__.py b/kvmd/apps/otg/__init__.py
index c073ed91..1d33b98e 100644
--- a/kvmd/apps/otg/__init__.py
+++ b/kvmd/apps/otg/__init__.py
@@ -270,8 +270,9 @@ def _cmd_start(config: Section) -> None: # pylint: disable=too-many-statements
_write(join(gadget_path, "UDC"), udc)
time.sleep(config.otg.init_delay)
- logger.info("Setting UDC permissions ...")
+ logger.info("Setting up permissions ...")
_chown(join(gadget_path, "UDC"), config.otg.user)
+ _chown(profile_path, config.otg.user)
logger.info("Ready to work")