|FreeBSD has a very nice feature which is referred to as startup directories.
These directories are defined in /etc/rc.conf. If you look in /etc/defaults/rc.conf
you will see a line like this:
If you want something to be started at boot time, create a file which ends with .sh
in a startup directory. At boot time, each file ending with .sh will be
executed. The order of execution is alphabetical.
For more information, see the System Administration section of the FreeBSD FAQ (http://www.freebsd.org/FAQ/admin.html#AEN1539).