Hi TGYK, thanks a lot for working on this, learning a lot with your script. I can't figure out why not working on my 10.9.4 maverick macbook. Getting the following error echos from terminal, guess its mainly the click it does;t understand how to do. Let me know if you have any ideas. Thanks.
754:807: execution error: System Events got an error: every pop up button of group 1 of window "Sharing" of process "System Preferences" doesn’t understand the “click” message. (-1708)
NAT file created
NAT file edited
763:816: execution error: System Events got an error: every pop up button of group 1 of window "Sharing" of process "System Preferences" doesn’t understand the “click” message. (-1708)
ICS started
IP on en0 set to 172.16.42.42
Set Primary DNS to 8.8.8.8 Alternate to 8.8.4.4
File Doesn't Exist, Will Create: /etc/bootpd.plist
Set: Entry, ":Subnets:0:dhcp_domain_name_server:0", Does Not Exist
Set: Entry, ":Subnets:0:dhcp_router", Does Not Exist
Set: Entry, ":Subnets:0:net_range:0", Does Not Exist
Rewritten bootpd file for DHCP
Made backup directory for completed config files
Copied completed config files
kill: usage: kill [-s sigspec | -n signum | -sigspec] pid | jobspec ... or kill -l [sigspec]
Reloaded bootpd file for DHCP
--edgecontrol