mirror of
https://github.com/kenzok8/openwrt-packages.git
synced 2025-01-09 03:58:26 +08:00
update 2024-05-04 14:00:53
This commit is contained in:
parent
869958f52f
commit
f1a7e44a36
@ -95,8 +95,8 @@ case "$1" in
|
|||||||
check_list_update "$1" "Loyalsoldier/v2ray-rules-dat" "release" "gfw.txt"
|
check_list_update "$1" "Loyalsoldier/v2ray-rules-dat" "release" "gfw.txt"
|
||||||
;;
|
;;
|
||||||
"china_list")
|
"china_list")
|
||||||
check_list_update "$1" "Loyalsoldier/v2ray-rules-dat" "release" "direct-list.txt"
|
check_list_update "$1" "Loyalsoldier/v2ray-rules-dat" "release" "direct-list.txt" && \
|
||||||
sed -i -e "s/full://g" -e "/:/d" "$RESOURCES_DIR/china_list.txt"
|
sed -i -e "s/full://g" -e "/:/d" "$RESOURCES_DIR/china_list.txt"
|
||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
echo -e "Usage: $0 <china_ip4 / china_ip6 / gfw_list / china_list>"
|
echo -e "Usage: $0 <china_ip4 / china_ip6 / gfw_list / china_list>"
|
||||||
|
Loading…
Reference in New Issue
Block a user