mirror of
https://github.com/LamGC/quickly-conf-sshd.git
synced 2025-04-29 14:17:32 +00:00
增加 Cron 已配置的提示输出.
This commit is contained in:
parent
667f22a80b
commit
ccf29da0a6
@ -213,5 +213,6 @@ if [ $(has_param "-c" "--cron") == "true" ]; then
|
||||
echo "Install conf-sshd script successfully."
|
||||
# 将当前脚本添加到 Crontab 中
|
||||
echo "$cron /bin/bash ~/.conf-sshd/conf-sshd.sh -o -k $sshkey_url >> ~/.conf-sshd/run.log" | crontab -
|
||||
echo "Crontab has been configured.(Cron: '$cron')"
|
||||
fi
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user