File tree Expand file tree Collapse file tree 2 files changed +5
-3
lines changed
Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -202,9 +202,11 @@ install_webterm() {
202202 local ttyd_arch=" $arch "
203203
204204 if [ " $arch " = " armhf" ]; then
205- ttyd_arch=" armv7 "
205+ ttyd_arch=" armhf "
206206 elif [ " $arch " = " amd64" ]; then
207- ttyd_arch=" x86_64" # ttyd 通常用 x86_64
207+ ttyd_arch=" x86_64"
208+ elif [ " $arch " = " aarch64" ]; then
209+ ttyd_arch=" aarch64"
208210 fi
209211
210212 echo " 信息:在 chroot 环境中下载并安装 ttyd ($ttyd_arch )..."
Original file line number Diff line number Diff line change 221221 fi
222222
223223 if [ ! -z " $VIDEOFORMAT " ]; then
224- if sed -i " s/format=mjpeg/format=$VIDEOFORMAT /g" /etc/kvmd/override.yaml; then
224+ if sed -i " s/-- format=mjpeg/-- format=$VIDEOFORMAT /g" /etc/kvmd/override.yaml; then
225225 log_info " 视频输入格式已设置为 $VIDEOFORMAT "
226226 fi
227227 fi
You can’t perform that action at this time.
0 commit comments