support set log level

This commit is contained in:
233boy
2025-06-25 11:03:26 +08:00
parent 0cac60d3e3
commit 15bab2b2ed
6 changed files with 71 additions and 16 deletions

View File

@@ -100,7 +100,7 @@ if [[ $is_old_use ]]; then
is_dont_show_info=1
if [[ $shadowsocks ]]; then
for v in ${ss_method_list[@]}; do
[[ $(egrep -i "^${ssciphers}$" <<<$v) ]] && ss_method=$v && break
[[ $(grep -E -i "^${ssciphers}$" <<<$v) ]] && ss_method=$v && break
done
if [[ $ss_method ]]; then
add ss $ssport $sspass $ss_method