This commit is contained in:
whm
2025-11-01 14:08:49 +08:00
parent 81b633e325
commit 61be8f9243
3 changed files with 61 additions and 5 deletions

View File

@@ -37,11 +37,12 @@ if [ $SKIP_GIT_PULL -eq 0 ]; then
fi
# 读取sudo密码
echo ""
echo -n "请输入sudo密码: "
read -s SUDO_PASSWORD
echo ""
echo ""
# echo ""
# echo -n "请输入sudo密码: "
# read -s SUDO_PASSWORD
# echo ""
# echo ""
SUDO_PASSWORD="yuxinda01"
# 检查密码是否为空
if [ -z "$SUDO_PASSWORD" ]; then
echo "错误: 密码不能为空"