-
Notifications
You must be signed in to change notification settings - Fork 47
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
sing-box wont startup with system #99
Comments
check helper.log, this feature no change since 1.0 |
FATAL[0000] start service: initialize rule-set[2]: initial rule-set: geoip-cn: Get "https://raw.githubusercontent.com/SagerNet/sing-geoip/rule-set/geoip-cn.srs": dial tcp 185.204.3.148:443: connect: network is unreachable | initialize rule-set[2]: initial rule-set: geosite-cn: Get "https://raw.githubusercontent.com/SagerNet/sing-geosite/rule-set/geosite-cn.srs": dial tcp 185.204.3.148:443: connect: network is unreachable | initialize rule-set[2]: initial rule-set: geosite-google: Get "https://raw.githubusercontent.com/SagerNet/sing-geosite/rule-set/geosite-google.srs": context canceled soo sing-box core just wont start with system because of unreachable connection? what can i do with that? |
Replace file #!/system/bin/sh
(
until [ $(ping -q -c1 1.1.1.1 &>/dev/null && echo 1 || echo 2) -eq 1 ]; do
sleep 5
done
/data/adb/xray/scripts/start.sh
) & This scritp will wait for network ready, then startup the module service, and you can change the test IP with you want to use. |
thank you |
In previous versions it was working even after system restart. Please return this feature 🥺
The text was updated successfully, but these errors were encountered: