Update vmess.sh
This commit is contained in:
@@ -37,7 +37,7 @@ install_dependencies() {
|
||||
configure_and_transfer() {
|
||||
PORT=$(shuf -i 10000-65535 -n 1)
|
||||
UUID=$(uuidgen)
|
||||
RANDOM_PATH=$(cat /dev/urandom | tr -dc 'a-zA-Z' | head -c 11)
|
||||
RANDOM_PATH=$(cat /dev/urandom | tr -dc 'a-zA-Z' | head -c 6)
|
||||
|
||||
cat > "$config_file" << EOF
|
||||
{
|
||||
@@ -93,4 +93,4 @@ install_dependencies
|
||||
configure_and_transfer
|
||||
systemctl restart xray
|
||||
systemctl enable xray
|
||||
echo -e "${green}Xray 服务已经重新启动。${none}"
|
||||
echo -e "${green}Xray 服务已经重新启动。${none}"
|
||||
|
||||
Reference in New Issue
Block a user