This repository was archived by the owner on Aug 22, 2021. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ export LANG=en_US
4
4
export LANGUAGE=en_US.UTF-8
5
5
6
6
branch=" vless"
7
- VERSION=" 2.1.5 "
7
+ VERSION=" 2.1.6 "
8
8
9
9
if [[ $( /usr/bin/id -u) -ne 0 ]]; then
10
10
sudoCmd=" sudo"
@@ -233,16 +233,16 @@ preinstall() {
233
233
234
234
get_acmesh () {
235
235
colorEcho ${BLUE} " Installing acme.sh"
236
- curl -fsSL https://get.acme.sh | ${sudoCmd} bash
236
+ curl -fsSL https://get.acme.sh | bash
237
237
}
238
238
239
239
get_cert () {
240
240
colorEcho ${BLUE} " Issuing certificate"
241
- ${sudoCmd} /root /.acme.sh/acme.sh --issue -d " $1 " -w /var/www/html --keylength ec-256
241
+ ~ /.acme.sh/acme.sh --issue -d " $1 " -w /var/www/html --keylength ec-256
242
242
243
243
# install certificate
244
244
colorEcho ${BLUE} " Installing certificate"
245
- ${sudoCmd} /root/ .acme.sh/acme.sh --install-cert --ecc -d " $1 " \
245
+ ${sudoCmd} ~ / .acme.sh/acme.sh --install-cert --ecc --force -d " $1 " \
246
246
--key-file /etc/ssl/v2ray/key.pem --fullchain-file /etc/ssl/v2ray/fullchain.pem \
247
247
--reloadcmd " chmod 644 /etc/ssl/v2ray/fullchain.pem; chmod 644 /etc/ssl/v2ray/key.pem; systemctl restart v2ray"
248
248
}
@@ -966,4 +966,4 @@ menu() {
966
966
}
967
967
968
968
identify_the_operating_system_and_architecture
969
- menu
969
+ menu
You can’t perform that action at this time.
0 commit comments