Skip to content

Windows easyrsa-shell-init.sh: Replace 'read -p' #1371

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Jul 19, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ Easy-RSA 3 ChangeLog

3.2.4 (TBD)

* Windows easyrsa-shell-init.sh: Replace 'read -p' (49b2181) (#1371)
* inline: Include missing OpenVPN TLS key to cause INCOMPLETE warning (d98eee6) (#1368)
* Verbose: Make verbose messages command and function aware (7634b94) (#1368)
* CI: Add OpenSSL-3.5.1-LTS and LibreSSL-4.1.0 to private test suite
Expand Down
11 changes: 7 additions & 4 deletions distro/windows/bin/easyrsa-shell-init.sh
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,8 @@ for f in $extern_list; do
echo " files."
echo ""
#shellcheck disable=SC2162
read -p "Press Enter or CTRL-C to exit."
echo "Press Enter to exit."
read
exit 1
fi
done
Expand Down Expand Up @@ -55,7 +56,8 @@ full administrator privileges via Windows User Access Control."
echo ""

#shellcheck disable=SC2162
read -p "Press Enter or CTRL-C to exit."
echo "Press Enter to exit."
read
exit 1
}

Expand Down Expand Up @@ -128,8 +130,9 @@ fi

[ -f "$setup_path/easyrsa" ] || {
echo "Missing easyrsa script. Expected to find it at: $setup_path/easyrsa"
read -p "Press Enter or CTRL-C to exit."
exit 2
echo "Press Enter to exit."
read
exit 1
}

# Set prompt and welcome message
Expand Down
Loading