shell script for FreeNAS to shutdown if no pc is available