#!/bin/sh
#
#  SLEEP 60 seconds before executing the scripts.
#
#####

LOG_FILE="/tmp/periodic_reboot.log"

sleep 60

# Periodic Reboot
/usr/bin/touch ${LOG_FILE}
if [ -e ${LOG_FILE} ]; then
  /usr/local/nerscripts/periodic_reboot.sh > ${LOG_FILE} &
else
  /usr/local/nerscripts/periodic_reboot.sh > /dev/null 2>&1 &
fi

exit 0
