mirror of
https://github.com/juewuy/ShellCrash.git
synced 2026-03-12 00:11:31 +00:00
~fix & improve
This commit is contained in:
@@ -180,8 +180,7 @@ ckstatus() {
|
|||||||
[ "$res" = 1 ] && unset disoverride && setconfig disoverride
|
[ "$res" = 1 ] && unset disoverride && setconfig disoverride
|
||||||
}
|
}
|
||||||
|
|
||||||
top_box "\033[30;43m$MENU_WELCOME\033[0m" \
|
top_box "\033[30;43m$MENU_WELCOME\033[0m\t\t Ver: $versionsh_l" \
|
||||||
"Ver: $versionsh_l" \
|
|
||||||
"$MENU_TG_CHANNEL\033[36;4mhttps://t.me/ShellClash\033[0m"
|
"$MENU_TG_CHANNEL\033[36;4mhttps://t.me/ShellClash\033[0m"
|
||||||
separator_line "-"
|
separator_line "-"
|
||||||
content_line "$corename$run\t $auto"
|
content_line "$corename$run\t $auto"
|
||||||
|
|||||||
@@ -203,7 +203,7 @@ settings() {
|
|||||||
exit 0
|
exit 0
|
||||||
;;
|
;;
|
||||||
b)
|
b)
|
||||||
comp_box "1) 简体中文"
|
comp_box "1) 简体中文" \
|
||||||
"2) English" \
|
"2) English" \
|
||||||
"" \
|
"" \
|
||||||
"0) $COMMON_BACK"
|
"0) $COMMON_BACK"
|
||||||
|
|||||||
@@ -345,7 +345,7 @@ fw_filter_lan() {
|
|||||||
add_ip() {
|
add_ip() {
|
||||||
while true; do
|
while true; do
|
||||||
comp_box "手动输入时仅支持 \033[32m192.168.1.0/24\033[0m 或 \033[32m192.168.1.0\033[0m 的形式" \
|
comp_box "手动输入时仅支持 \033[32m192.168.1.0/24\033[0m 或 \033[32m192.168.1.0\033[0m 的形式" \
|
||||||
"不支持ipv6地址过滤,如有需求请使用mac地址过滤"
|
"不支持ipv6地址过滤,可能导致过滤失败,建议使用mac地址过滤"
|
||||||
content_line "已添加的IP地址(段):"
|
content_line "已添加的IP地址(段):"
|
||||||
content_line ""
|
content_line ""
|
||||||
if [ -s "$CRASHDIR/configs/ip_filter" ]; then
|
if [ -s "$CRASHDIR/configs/ip_filter" ]; then
|
||||||
|
|||||||
Reference in New Issue
Block a user