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