removed plugins

This commit is contained in:
Devaev Maxim 2019-09-12 02:00:05 +03:00
parent ab7a16a4f7
commit 8214a20d4a
8 changed files with 9 additions and 5 deletions

View File

@ -25,7 +25,7 @@ kvmd:
reset_switch_pin: 27
msd:
type: none
type: disabled
streamer:
desired_fps: 30

View File

@ -25,7 +25,7 @@ kvmd:
reset_switch_pin: 27
msd:
type: none
type: disabled
streamer:
unix: /run/kvmd/ustreamer.sock

View File

@ -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": {

View File

@ -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

View File

@ -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