2
Dear Superuser Community,
I'm writing on a a script that renews the DHCP Lease. To function correctly on other computers, how can renew the DHCP Lease without knowing if en0 or en1 is active.
Is it ok to reset both: sudo ipconfig set en0 DHCP; sudo ipconfig set en1 DHCP?
Edit: The OS is OSX El Capitan (Sorry, I forgot the most important info)
Thanks in advance
1What OS is this for? – Zoredache – 2016-07-18T20:59:16.460
It's for OSX El Capitan (Sorry I missed that) – Max – 2016-07-19T20:24:32.117