docs: update README.en.md (fix by

Kagashini)
This commit is contained in:
Rekryt
2025-03-16 19:48:19 +03:00
parent 8c93505d5d
commit be121bec72
2 changed files with 8 additions and 11 deletions

View File

@@ -235,19 +235,16 @@ wget https://iplist.opencck.org/scripts/homeproxy/update_resources.sh -O /etc/ho
# Add execution permissions
chmod +x /etc/homeproxy/scripts/update_resources.sh
# Fix cron deletion after reboot
sed -i '/sed -i/s/^/\t#/; /\/etc\/init.d\/cron restart >/s/^/\t#/' /etc/init.d/homeproxy
# Did you host this solution? - then uncomment the following line and replace "example.com" with your domain
# sed -i 's/iplist.opencck.org/example.com/g' /etc/homeproxy/scripts/update_resources.sh
```
Open the administrative panel in OpenWRT, go to the "System" - "Startup" - "Local Startup" section.
Add the following lines before "exit 0" to automatically run the update script at startup, as well as at 00:05:00 and 12:05:00
```shell
sleep 15
/etc/homeproxy/scripts/update_crond.sh
echo "5 0,12 * * * /etc/homeproxy/scripts/update_crond.sh" > /etc/crontabs/root
/etc/init.d/cron enable
/etc/init.d/cron start
Open the administrative panel in OpenWRT, go to the "System" - "Startup" - "Sсheduled Tasks" section.
Add the following line automatically run the update script at startup, as well as at 00:05:00 and 12:05:00
```
5 0,12 * * * /etc/homeproxy/scripts/update_crond.sh
```
![2](https://github.com/user-attachments/assets/2369b32c-d43a-4837-97ce-c46a9dd79e5e)