This is an OSX everyboot script (it runs every time the Mac boots). It is aimed at corporate networks and diagnoses simple faults like a disconnected network cable or DHCP, DNS and AD connection issues.
Any issues that are found will be displayed within the OSX Login Window message.
The script does the following:
Waits (a definable length of time) for the network services to be available
(DHCP, DNS & AD)
Sets the LocalHostName, HostName and ComputerName if neccessary...