a guest Sep 19th, 2012 4,948 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
- #!/bin/bash -e
- # This script is for controlling OSX v5.7.4 tftpserver
- case "$1" in
- launchctl load -F /System/Library/LaunchDaemons/tftp.plist
- launchctl start com.apple.tftpd
- echo "tftpserver started..."
- launchctl stop com.apple.tftpd
- launchctl unload -F /System/Library/LaunchDaemons/tftp.plist
- echo "tftpserver stopped..."
- exit 0
RAW Paste Data