OSX-Monitoring-Tools
OSX-Monitoring-Tools copied to clipboard
10.6 support for check_osx_hostname.sh
Jus a little thing. In 'check_osx_hostname.sh', you define
checkHostname=sudo /Applications/Server.app/Contents/ServerRoot/usr/sbin/changeip -checkhostname
but ... if you want your script to work also on 10.6 ... you should add a condition/test ... besause, on 10.6, changeip is stored at /usr/sbin/changeip (you should use /usr/bin/sw_vers or uname -r)