tftp on mac os x

I needed to configure some devices on the go and as long as you have a Mac handy you can do it without any additional software. I found details on another site but the /sbin/service they used didn't seem to exist on my machine but after a little more Googling I found this is the command to start the tftp server on OS X 10.7 Lion...
sudo launchctl load -F /System/Library/LaunchDaemons/tftp.plist
sudo launchctl start com.apple.tftpd

The default tftp file path is /private/tftpboot but you can change that by editing /System/Library/LaunchDaemons/tftp.plist and re-starting with launchctl...

sudo launchctl restart com.apple.tftpd

Original: http://www.weezey.com/2011/07/using-os-x-built-in-tftp-server/

Tags for tips: