Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
Show correct LAN/WLAN ip address after installing #42
The tricky part about installer is that it should work on many systems. It was tested on many busybox variants. With busybox you never know what commands are available and how much they were stripped.
Since we can't expect such advanced commands like "ifconfig" to work we must wrap the calls with safety straps like
To test your code for durability replace "route" with "route1" and "ifconfig" with "ifconfig1" to pretend the commands are not available.
Don't worry, I'll add the safety wrapper myself. Thanks again for the improvement.