Fix IP Address issue for some network setups

Changes:

    LOCAL=$(ipconfig getifaddr en0)

to:

    LOCAL=$(ipconfig getifaddr en0 || ipconfig getifaddr en1)

This solves issue with iMac connected via Wi-Fi.

See other solutions in comments: http://dferg.us/ip-address-workflow/
This commit is contained in:
Lendar
2013-09-25 14:00:32 +04:00
parent d6d25bd37b
commit 6483b81291
Binary file not shown.