2 Commits

Author SHA1 Message Date
itdoginfo
2806a26a07 Fix for sing-box 1.11 2025-02-10 15:48:29 +03:00
itdoginfo
0cfe54a8e2 fix 2025-01-12 12:43:03 +03:00
2 changed files with 3 additions and 3 deletions

View File

@@ -205,7 +205,7 @@ cat << 'EOF' > /etc/sing-box/config.json
"type": "tun",
"interface_name": "tun0",
"domain_strategy": "ipv4_only",
"inet4_address": "172.16.250.1/30",
"address": ["172.16.250.1/30"],
"auto_route": false,
"strict_route": false,
"sniff": true
@@ -325,7 +325,7 @@ dnsmasqfull() {
[ -f /etc/config/dhcp-opkg ] && cp /etc/config/dhcp /etc/config/dhcp-old && mv /etc/config/dhcp-opkg /etc/config/dhcp
fi
}
s
dnsmasqconfdir() {
if [ $VERSION_ID -ge 24 ]; then
if uci get dhcp.@dnsmasq[0].confdir | grep -q /tmp/dnsmasq.d; then

View File

@@ -7,7 +7,7 @@
"type": "tun",
"interface_name": "tun0",
"domain_strategy": "ipv4_only",
"inet4_address": "172.16.250.1/30",
"address": ["172.16.250.1/30"],
"auto_route": false,
"strict_route": false,
"sniff": true