mirror of
https://github.com/mofeng-git/One-KVM.git
synced 2026-01-29 00:51:53 +08:00
修复 otg 无法使用问题
This commit is contained in:
@@ -134,7 +134,12 @@ fi
|
||||
if [ "$OTG" == "1" ]; then
|
||||
echo "Trying OTG Port..."
|
||||
python -m kvmd.apps.otg start
|
||||
if [ -f /dev/hidg0 ] && [ -f /dev/hidg1 ]; then
|
||||
ln -s /dev/hidg1 /dev/kvmd-hid-mouse && ln -s /dev/hidg0 /dev/kvmd-hid-keyboard
|
||||
fi
|
||||
fi
|
||||
|
||||
|
||||
|
||||
echo -e "${GREEN}One-KVM starting...${NC}"
|
||||
exec supervisord -c /etc/kvmd/supervisord.conf
|
||||
Reference in New Issue
Block a user