mirror of
https://github.com/mofeng-git/One-KVM.git
synced 2026-02-02 11:01:53 +08:00
添加电源管理支持
USB HID 继电器支持 GPIO 添加初始文件
This commit is contained in:
17
configs/kvmd/atx.sh
Executable file
17
configs/kvmd/atx.sh
Executable 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
|
||||
Reference in New Issue
Block a user