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/