mirror of
https://github.com/233boy/sing-box.git
synced 2026-05-03 14:24:40 +08:00
Compare commits
1 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
9cf5655ac5 |
@@ -1,6 +1,6 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
args=$@
|
args=$@
|
||||||
is_sh_ver=v1.06
|
is_sh_ver=v1.07
|
||||||
|
|
||||||
. /etc/sing-box/sh/src/init.sh
|
. /etc/sing-box/sh/src/init.sh
|
||||||
@@ -369,7 +369,7 @@ create() {
|
|||||||
else
|
else
|
||||||
[[ ! $is_ntp_on ]] && is_ntp=
|
[[ ! $is_ntp_on ]] && is_ntp=
|
||||||
fi
|
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}" <<<{})
|
is_server_config_json=$(jq "{$is_log,$is_dns,$is_ntp$is_outbounds}" <<<{})
|
||||||
cat <<<$is_server_config_json >$is_config_json
|
cat <<<$is_server_config_json >$is_config_json
|
||||||
manage restart &
|
manage restart &
|
||||||
|
|||||||
Reference in New Issue
Block a user