脚本/mission 移除已废弃的 deploy.sh:clean-data/fetch-data/sync-board-time 帮助与报错文案改用 ssh-copy-id 指引,mission 注释同步改为 build-board.sh 部署,避免引用已删除脚本

This commit is contained in:
zjk
2026-09-09 20:52:14 +08:00
parent e59f7e3d2e
commit f7d2b98dc1
5 changed files with 9 additions and 280 deletions
+2 -2
View File
@@ -23,7 +23,7 @@
# --journal 额外导出各服务的 systemd journal 日志
# -h, --help 显示帮助
#
# 前置: 板卡已配免密 SSH(见 scripts/deploy.sh setup-ssh)。
# 前置: 板卡已配免密 SSH(ssh-copy-id root@<host>)。
#=======================================================================
set -uo pipefail
@@ -82,7 +82,7 @@ SCP="scp -o BatchMode=yes -o ConnectTimeout=5"
#-------------------------------------------------------------------
if ! ${SSH} "${SSH_TARGET}" 'true' 2>/dev/null; then
err "无法免密 SSH 到 ${SSH_TARGET}"
err "请先执行: ./scripts/deploy.sh setup-ssh"
err "请先配置免密登录: ssh-copy-id ${SSH_TARGET}"
exit 1
fi
ok "SSH 连接正常: ${SSH_TARGET}"