mirror of
https://github.com/233boy/sing-box.git
synced 2026-05-03 14:24:40 +08:00
Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
3750157987 | ||
|
|
7c9622df74 |
@@ -198,7 +198,7 @@ check_status() {
|
|||||||
# dependent pkg install fail
|
# dependent pkg install fail
|
||||||
[[ ! -f $is_pkg_ok ]] && {
|
[[ ! -f $is_pkg_ok ]] && {
|
||||||
msg err "安装依赖包失败"
|
msg err "安装依赖包失败"
|
||||||
msg err "请尝试手动安装依赖包: $cmd update -y; $cmd install -y $pkg"
|
msg err "请尝试手动安装依赖包: $cmd update -y; $cmd install -y $is_pkg"
|
||||||
is_fail=1
|
is_fail=1
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
args=$@
|
args=$@
|
||||||
is_sh_ver=v1.13
|
is_sh_ver=v1.14
|
||||||
|
|
||||||
. /etc/sing-box/sh/src/init.sh
|
. /etc/sing-box/sh/src/init.sh
|
||||||
@@ -680,7 +680,7 @@ uninstall() {
|
|||||||
manage stop &>/dev/null
|
manage stop &>/dev/null
|
||||||
manage disable &>/dev/null
|
manage disable &>/dev/null
|
||||||
rm -rf $is_core_dir $is_log_dir $is_sh_bin ${is_sh_bin/$is_core/sb} /lib/systemd/system/$is_core.service
|
rm -rf $is_core_dir $is_log_dir $is_sh_bin ${is_sh_bin/$is_core/sb} /lib/systemd/system/$is_core.service
|
||||||
sed -i "/alias $is_core=/d" /root/.bashrc
|
sed -i "/$is_core/d" /root/.bashrc
|
||||||
# uninstall caddy; 2 is ask result
|
# uninstall caddy; 2 is ask result
|
||||||
if [[ $REPLY == '2' ]]; then
|
if [[ $REPLY == '2' ]]; then
|
||||||
manage stop caddy &>/dev/null
|
manage stop caddy &>/dev/null
|
||||||
|
|||||||
Reference in New Issue
Block a user