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.
9 lines
223 B
9 lines
223 B
6 years ago
|
#!/bin/bash
|
||
|
backup="/etc/v2ray/233blog_v2ray_backup.conf"
|
||
|
. $backup
|
||
|
if [[ $v2ray_transport -ge 13 ]]; then
|
||
|
tmp_transport=$(($v2ray_transport +6))
|
||
|
sed -i "18s/=$v2ray_transport/=$tmp_transport/" $backup
|
||
|
fi
|
||
|
v2ray update.sh
|