脚本/mission 移除已废弃的 deploy.sh:clean-data/fetch-data/sync-board-time 帮助与报错文案改用 ssh-copy-id 指引,mission 注释同步改为 build-board.sh 部署,避免引用已删除脚本
This commit is contained in:
@@ -25,7 +25,7 @@
|
||||
# --stale 额外清理历史遗留的 bin/、src/bin/ 下旧数据库与日志
|
||||
# -h, --help 显示帮助
|
||||
#
|
||||
# 前置: 板卡已配免密 SSH(见 scripts/deploy.sh setup-ssh)。
|
||||
# 前置: 板卡已配免密 SSH(ssh-copy-id root@<host>)。
|
||||
#=======================================================================
|
||||
|
||||
set -uo pipefail
|
||||
@@ -90,7 +90,7 @@ SSH="ssh -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}"
|
||||
|
||||
Reference in New Issue
Block a user