diff options
author | Devaev Maxim <[email protected]> | 2019-09-12 02:00:05 +0300 |
---|---|---|
committer | Devaev Maxim <[email protected]> | 2019-09-12 02:03:47 +0300 |
commit | 8214a20d4af3fdb59bb35bd8f83d3d9977de8f35 (patch) | |
tree | 0881ad456f18173c4f5e0fc8387f98feefbb356d /kvmd | |
parent | ab7a16a4f7afb2393f69a7ac9b3f5cea7c3ed4d6 (diff) |
removed plugins
Diffstat (limited to 'kvmd')
-rw-r--r-- | kvmd/apps/__init__.py | 6 | ||||
-rw-r--r-- | kvmd/plugins/atx/__init__.py | 2 | ||||
-rw-r--r-- | kvmd/plugins/atx/disabled.py (renamed from kvmd/plugins/atx/none.py) | 0 | ||||
-rw-r--r-- | kvmd/plugins/hid/serial.py (renamed from kvmd/plugins/hid/tty.py) | 0 | ||||
-rw-r--r-- | kvmd/plugins/msd/__init__.py | 2 | ||||
-rw-r--r-- | kvmd/plugins/msd/disabled.py (renamed from kvmd/plugins/msd/none.py) | 0 |
6 files changed, 7 insertions, 3 deletions
diff --git a/kvmd/apps/__init__.py b/kvmd/apps/__init__.py index 60df70fc..a17a89c5 100644 --- a/kvmd/apps/__init__.py +++ b/kvmd/apps/__init__.py @@ -169,6 +169,7 @@ def _get_config_scheme(sections: List[str]) -> Dict: "internal": { "type": Option("htpasswd"), "force_users": Option([], type=valid_users_list), + # Dynamic content }, "external": { "type": Option(""), @@ -181,15 +182,18 @@ def _get_config_scheme(sections: List[str]) -> Dict: }, "hid": { - "type": Option("tty"), + "type": Option("serial"), + # Dynamic content }, "atx": { "type": Option("gpio"), + # Dynamic content }, "msd": { "type": Option("relay"), + # Dynamic content }, "streamer": { diff --git a/kvmd/plugins/atx/__init__.py b/kvmd/plugins/atx/__init__.py index 77091c07..da08afd5 100644 --- a/kvmd/plugins/atx/__init__.py +++ b/kvmd/plugins/atx/__init__.py @@ -79,4 +79,4 @@ class BaseAtx(BasePlugin): # ===== def get_atx_class(name: str) -> Type[BaseAtx]: - return get_plugin_class("atx", (name or "none")) # type: ignore + return get_plugin_class("atx", (name or "disabled")) # type: ignore diff --git a/kvmd/plugins/atx/none.py b/kvmd/plugins/atx/disabled.py index 09fad2f8..09fad2f8 100644 --- a/kvmd/plugins/atx/none.py +++ b/kvmd/plugins/atx/disabled.py diff --git a/kvmd/plugins/hid/tty.py b/kvmd/plugins/hid/serial.py index 18930504..18930504 100644 --- a/kvmd/plugins/hid/tty.py +++ b/kvmd/plugins/hid/serial.py diff --git a/kvmd/plugins/msd/__init__.py b/kvmd/plugins/msd/__init__.py index 64d339eb..2c46a663 100644 --- a/kvmd/plugins/msd/__init__.py +++ b/kvmd/plugins/msd/__init__.py @@ -110,4 +110,4 @@ class BaseMsd(BasePlugin): # ===== def get_msd_class(name: str) -> Type[BaseMsd]: - return get_plugin_class("msd", (name or "none")) # type: ignore + return get_plugin_class("msd", (name or "disabled")) # type: ignore diff --git a/kvmd/plugins/msd/none.py b/kvmd/plugins/msd/disabled.py index dab0f406..dab0f406 100644 --- a/kvmd/plugins/msd/none.py +++ b/kvmd/plugins/msd/disabled.py |