'ifsetup' is a script that sets up all of your network interfaces. It has a series of prompts that allows you to enable/disable any interface, setup WiFi, DHCP, host settings, and other options. This script is pretty much obsolete because it doesn't work very well on modern wireless devices.
These details are provided for information only. No information here is legal advice and should not be used as such.