Add TCP Trojan support and enhance country detection in external-proxies-sanitizer.js
This commit is contained in:
@@ -16,4 +16,10 @@ depend() {
|
||||
need net
|
||||
use dns
|
||||
after firewall
|
||||
}
|
||||
|
||||
start_pre() {
|
||||
# Жестко выдаем права перед каждым запуском.
|
||||
# Подавляем ошибки, чтобы не ломать старт, если ФС вдруг смонтирована в read-only
|
||||
setcap 'cap_net_admin,cap_net_bind_service=+ep' /usr/local/bin/mihomo 2>/dev/null || true
|
||||
}
|
||||
Reference in New Issue
Block a user