mirror of
https://github.com/mofeng-git/One-KVM.git
synced 2025-12-12 09:10:30 +08:00
removed plugins
This commit is contained in:
parent
ab7a16a4f7
commit
8214a20d4a
@ -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
|
||||||
|
|||||||
@ -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
|
||||||
|
|||||||
@ -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": {
|
||||||
|
|||||||
@ -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
|
||||||
|
|||||||
@ -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
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user