- curl, usb-modeswitch, grep, awk, sudo (not necessary, last step can fail safely)
- balong_flash in $PATH ( https://github.com/forth32/balongflash.git )
- atinout in $PATH ( https://github.com/beralt/atinout.git will work fine )
- 2 files we flash (core sw update version 22.x, WebUI installer), we use these (you can probably use different balong-compatible):
- core sw: "E3372sUpdate_22.298.03.02.965.BIN" / "E3372sUpdate_22.298.03.02.965.exe"
- webui: "Update_WEBUI_17.100.06.00.03_Hilink_V7R2_9x25_CPIO.exe"
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #Convert Tilda.cc htaccess to netlify _redirects | |
| grep DirectoryIndex htaccess | awk -F' ' '{print "/", "/"$2, 200}' > _redirects | |
| grep RewriteRule htaccess | grep -v 'robots'| awk -F' ' '{print $2, $3, 200}' | sed -e 's/\^/\//g' | sed -e 's/\$//g' >> _redirects |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| @monthly wget https://www.cloudflare.com/ips-v4 -O /etc/haproxy/cf-ips-v4 && service haproxy reload |