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 reset_switch_pin: 27
msd: msd:
type: none type: disabled
streamer: streamer:
desired_fps: 30 desired_fps: 30

View File

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

View File

@ -169,6 +169,7 @@ def _get_config_scheme(sections: List[str]) -> Dict:
"internal": { "internal": {
"type": Option("htpasswd"), "type": Option("htpasswd"),
"force_users": Option([], type=valid_users_list), "force_users": Option([], type=valid_users_list),
# Dynamic content
}, },
"external": { "external": {
"type": Option(""), "type": Option(""),
@ -181,15 +182,18 @@ def _get_config_scheme(sections: List[str]) -> Dict:
}, },
"hid": { "hid": {
"type": Option("tty"), "type": Option("serial"),
# Dynamic content
}, },
"atx": { "atx": {
"type": Option("gpio"), "type": Option("gpio"),
# Dynamic content
}, },
"msd": { "msd": {
"type": Option("relay"), "type": Option("relay"),
# Dynamic content
}, },
"streamer": { "streamer": {

View File

@ -79,4 +79,4 @@ class BaseAtx(BasePlugin):
# ===== # =====
def get_atx_class(name: str) -> Type[BaseAtx]: 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]: 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