mirror of
https://github.com/233boy/sing-box.git
synced 2026-05-03 06:14:41 +08:00
Compare commits
1 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
9cf5655ac5 |
@@ -1,6 +1,6 @@
|
||||
#!/bin/bash
|
||||
|
||||
args=$@
|
||||
is_sh_ver=v1.06
|
||||
is_sh_ver=v1.07
|
||||
|
||||
. /etc/sing-box/sh/src/init.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 &
|
||||
|
||||
Reference in New Issue
Block a user