The execution of shell script is interrupted until the command is entered manually.

take easyrsa. I remember it was 2 at first, and then 3

. If

3, the directory originally copied has the version number, and the latest
/ usr/share/easy-rsa file directory has changed, and the version number has been moved to a subdirectory.

so it changes a lot here. I"m a rookie, so I feel like I can copy the version manually.

so, the script runs here and takes a manual look at the directory structure there and then goes on to execute.

is not very mature, ask the boss for advice.

Aug.18,2021

is interrupted due to a change in the structure of the version directory, and then manually intervened, which is not the solution to the problem.
generally, this kind of problem must be compatible with existing versions, and few scripts will be programmed for the future (perhaps because scripts are easy to modify).
you use case to judge the version, and different versions point to different directories.

Menu