mirror of
https://github.com/caiwx86/small-packages.git
synced 2026-10-30 15:55:13 +08:00
update 2026-08-17 08:56:27
This commit is contained in:
1 parent
a410b26046
commit
e12e831d01
8 files changed
+48
-105
No files matched your search
@@ -37,6 +37,8 @@ chmod +x /usr/share/passwall/*.sh
|
||||
uci -q delete passwall.@global_xray[0].sniffing
|
||||
uci -q delete passwall.@global_xray[0].route_only
|
||||
|
||||
[ "$(uci -q get passwall.@global_haproxy[0].health_check_type)" = "passwall_logic" ] && uci -q set passwall.@global_haproxy[0].health_check_type='script_logic'
|
||||
|
||||
for sid in $(uci show passwall | grep "=socks" | awk -F '.' '{print $2}' | awk -F '=' '{print $1}'); do
|
||||
if [ -z "$(echo ${sid} | grep '^socks_')" ]; then
|
||||
new_id="socks_$(head /dev/urandom | tr -dc A-Za-z0-9 | head -c 5)"
|
||||
|
||||
Reference in new issue
Block a user