mirror of
https://github.com/mofeng-git/One-KVM.git
synced 2025-12-12 17:20:30 +08:00
修复配置文件
This commit is contained in:
parent
43297fa3c1
commit
7a7783ced4
@ -35,6 +35,7 @@ kvmd:
|
||||
- 800x600
|
||||
- 720x576
|
||||
- 720x480
|
||||
- 640x480
|
||||
cmd:
|
||||
- "/usr/bin/ustreamer"
|
||||
- "--device=/dev/kvmd-video"
|
||||
@ -51,6 +52,8 @@ kvmd:
|
||||
- "--process-name-prefix={process_name_prefix}"
|
||||
- "--notify-parent"
|
||||
- "--no-log-colors"
|
||||
- "--sink=kvmd::ustreamer::jpeg"
|
||||
- "--sink-mode=0660"
|
||||
|
||||
|
||||
vnc:
|
||||
|
||||
@ -20,6 +20,9 @@ kvmd:
|
||||
type: disabled
|
||||
gpio:
|
||||
drivers:
|
||||
wol_server1:
|
||||
type: wol
|
||||
mac: 2c:56:dc:db:7c:1e
|
||||
short_press:
|
||||
type: cmd
|
||||
cmd: [/usr/bin/sudo, short_press_gpio420]
|
||||
@ -27,6 +30,11 @@ kvmd:
|
||||
type: cmd
|
||||
cmd: [/usr/bin/sudo, long_press_gpio420]
|
||||
scheme:
|
||||
wol_server1:
|
||||
driver: wol_server1
|
||||
pin: 0
|
||||
mode: output
|
||||
switch: false
|
||||
short_button:
|
||||
driver: short_press
|
||||
pin: 0
|
||||
@ -45,3 +53,6 @@ kvmd:
|
||||
- []
|
||||
- ["#短按(开/关机):", short_button|按下]
|
||||
- ["#长按(强制关机):", long_button|按下]
|
||||
- []
|
||||
- ["#网络唤醒"]
|
||||
- ["#被控机设备", wol_server1|网络唤醒]
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user