You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
v2ray/src/custom_config.sh

7 lines
245 B

6 years ago
# custom config
if [[ -f /etc/v2ray/custom/config.json ]]; then
custom_config_file="/etc/v2ray/custom/config.json"
sed -i "/\/\/include_config/r $custom_config_file" $v2ray_server_config
sed -i "s#//include_config#,#" $v2ray_server_config
fi