mirror of
https://github.com/mofeng-git/One-KVM.git
synced 2025-12-12 01:00:29 +08:00
removed plugins
This commit is contained in:
parent
ab7a16a4f7
commit
8214a20d4a
@ -25,7 +25,7 @@ kvmd:
|
||||
reset_switch_pin: 27
|
||||
|
||||
msd:
|
||||
type: none
|
||||
type: disabled
|
||||
|
||||
streamer:
|
||||
desired_fps: 30
|
||||
|
||||
@ -25,7 +25,7 @@ kvmd:
|
||||
reset_switch_pin: 27
|
||||
|
||||
msd:
|
||||
type: none
|
||||
type: disabled
|
||||
|
||||
streamer:
|
||||
unix: /run/kvmd/ustreamer.sock
|
||||
|
||||
@ -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": {
|
||||
|
||||
@ -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
|
||||
|
||||
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user