feat: disable automatic reality config generation on install
This commit is contained in:
+6
-3
@@ -437,7 +437,7 @@ main() {
|
||||
mkdir -p $is_log_dir
|
||||
|
||||
# show a tips msg
|
||||
msg ok "生成配置文件..."
|
||||
msg ok "初始化配置目录..."
|
||||
|
||||
# create service
|
||||
load systemd.sh
|
||||
@@ -448,10 +448,13 @@ main() {
|
||||
mkdir -p $is_conf_dir
|
||||
|
||||
load core.sh
|
||||
# create a reality config
|
||||
add reality
|
||||
# wait for background tasks (e.g., OpenRC service start)
|
||||
wait
|
||||
|
||||
_green "\nsing-box 脚本安装成功!\n"
|
||||
msg "你可以输入 ${green}sing-box${none} 或者 ${green}sb${none} 快捷命令来打开管理菜单配置你的节点。"
|
||||
echo
|
||||
|
||||
# remove tmp dir and exit.
|
||||
exit_and_del_tmpdir ok
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user