Added other possible detection methods to machine-detect.
Fix hell-or-high-water network script.

- Use bash instead of sh. (1)
- Fix syntax error. (192)
- Don't attempt to set MAC for lo. (140)
- Don't escape variables inappropriately. (157)
- Switch back to "00:00:00:XX:XX:XX" MAC. (173)
- Separate listing and counting wired interfaces. (19, 173)