mirror of
https://github.com/mofeng-git/One-KVM.git
synced 2026-02-03 19:41:52 +08:00
fix: 尝试修复视频格式环境变量不生效和 ttyd 下载失败问题
This commit is contained in:
@@ -221,7 +221,7 @@ EOF
|
||||
fi
|
||||
|
||||
if [ ! -z "$VIDEOFORMAT" ]; then
|
||||
if sed -i "s/format=mjpeg/format=$VIDEOFORMAT/g" /etc/kvmd/override.yaml; then
|
||||
if sed -i "s/--format=mjpeg/--format=$VIDEOFORMAT/g" /etc/kvmd/override.yaml; then
|
||||
log_info "视频输入格式已设置为 $VIDEOFORMAT"
|
||||
fi
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user