diff --git a/sing-box.sh b/sing-box.sh index b3ce41b..ad46279 100644 --- a/sing-box.sh +++ b/sing-box.sh @@ -1,6 +1,6 @@ #!/bin/bash args=$@ -is_sh_ver=v1.06 +is_sh_ver=v1.07 . /etc/sing-box/sh/src/init.sh \ No newline at end of file diff --git a/src/core.sh b/src/core.sh index d060b57..203b002 100644 --- a/src/core.sh +++ b/src/core.sh @@ -369,7 +369,7 @@ create() { else [[ ! $is_ntp_on ]] && is_ntp= fi - is_outbounds='outbounds:[{tag:"direct",type:"direct"},{tag:"block",type:"block"}]' + is_outbounds='outbounds:[{tag:"direct",type:"direct"}]' is_server_config_json=$(jq "{$is_log,$is_dns,$is_ntp$is_outbounds}" <<<{}) cat <<<$is_server_config_json >$is_config_json manage restart &