添加电源管理支持

USB HID 继电器支持
GPIO 添加初始文件
This commit is contained in:
mofeng-git
2024-10-02 12:55:48 +00:00
parent 758ba42838
commit 0f39312eac
9 changed files with 144 additions and 8 deletions

17
configs/kvmd/atx.sh Executable file
View File

@@ -0,0 +1,17 @@
#!/bin/bash
echo $ATX
case $ATX in
GPIO)
CUSTOMATX=gpio
;;
USBRELAY_HID)
CUSTOMATX=usbrelay_hid
;;
*)
echo "No thing."
exit -1
esac
#$1 option: short long reset
exec /etc/kvmd/custom_atx/$CUSTOMATX.sh $1