Files
3x-ui/install.sh
Kuzz007 1b07dadfb9 fix(install.sh): check the live sysctl value, not sysctl.conf text
Same fix as the upstream PR (#6105) review round: grepping
/etc/sysctl.conf for the setting name is unreliable -- many distros
split sysctl config across /etc/sysctl.d/*.conf, and /etc/sysctl.conf
can be a symlink into that directory, so the check can miss an
already-active setting or match a disabled/commented line, leaving
forwarding silently off either way. Query the live value via
`sysctl -n` instead. Applied to both the IPv6 and IPv4 checks.
2026-07-29 23:18:41 +03:00

91 KiB