1
0
Fork 0
mirror of https://github.com/Ysurac/openmptcprouter-feeds.git synced 2025-03-09 15:40:03 +00:00

Fixes and use nping for failover

This commit is contained in:
Ycarus 2018-02-20 22:19:31 +01:00
parent f9adb2e523
commit 99881d1487
5 changed files with 18 additions and 21 deletions

View file

@ -131,7 +131,7 @@ ss_mkjson_ss_tunnel_conf() {
EOF
[ "$obfs" = 0 ] && obfs=false || obfs=true
if $obfs; then
obfs_options="--obfs $obfs_type"
obfs_options="obfs=$obfs_type"
[ -z "$obfs_host" ] || obfs_options="$obfs_options --obfs-host $obfs_host"
[ -z "$obfs_uri" ] || obfs_options="$obfs_options --obfs-uri $obfs_uri"
cat <<-EOF