mirror of
https://github.com/bigbeartechworld/big-bear-scripts.git
synced 2026-07-24 23:04:29 -04:00
1dca696e5aebfc29f77d93aca3eddcc7618b19c8
This commit enhances the IP detection and display functionality in the CasaOS installer script. The key changes are: - Improved the logic to retrieve the CasaOS port from the configuration file, with a fallback to port 80 if the port cannot be determined. - Implemented a simpler approach to get the first non-loopback IP address, which is usually the LAN IP. - Added more advanced methods to identify and exclude Docker, virtual, and other non-physical interfaces when retrieving IP addresses. - Improved the display of the CasaOS URL, showing the IP address and port in a user-friendly format. These changes aim to provide a more reliable and user-friendly experience when installing CasaOS, ensuring that the correct IP address and port are displayed for easy access to the CasaOS web interface.
BigBearScripts
YouTube Link: https://www.youtube.com/@bigbeartechworld
BigBearCommunity
If you have a suggestion for a video, post in the BigBearCommunity.
Support My Work
Languages
Shell
99.2%
JavaScript
0.8%