build
build copied to clipboard
Add fallback for debug upload
Description
For the unlikely case do some unneeded work and add a fallback JUST IN CASE ix.io is unreachable or down or closes door or doomsday is coming.
Jira reference number AR-625
How Has This Been Tested?
Tested with OPi Zero on 22.08
- [x] Do normal armbianmonitor -u and verify working
- [x] Block ix.io using iptables and retry to verify working fallback
Checklist:
- [ ] My code follows the style guidelines of this project
- [x] I have performed a self-review of my own code
- [ ] I have commented my code, particularly in hard-to-understand areas
- [ ] I have made corresponding changes to the documentation
- [x] My changes generate no new warnings
- [ ] Any dependent changes have been merged and published in downstream modules
- Duplicate IP censoring needs to be fixed (cosmetics). Maybe create a censored version of
CollectSupportInfoand then parse it to the chosen upload target? - Cascaded
ifstatements could be made nicer? (cosmetics)
Fixed another small bug that was around since years. Also what if we twist the logic an use ours as default?
Funny. Bug had the same idea. As for myself I don't care or if I had to decide I'd leave ix.io since it proven stable over years now.
This is just another small step to promote "armbian" and costs us close to nothing.