#! /bin/sh

### BEGIN INIT INFO
# Provides: ndn-clientscripts
# Required-Start: $remote_fs $syslog $all
# Required-Stop: 
# Default-Start: 2 3 4 5
# Default-Stop: 
# Short-Description: Things that DreamHost servers need to do at startup
### END INIT INFO

PATH=/usr/local/dh/bin:/sbin:/usr/sbin:/bin:/usr/bin

. /lib/init/vars.sh
. /lib/lsb/init-functions

case "$1" in
	start)
		log_begin_msg "Running checkuptime: "
		touch /var/run/checkuptime-needed
		checkuptime.pl --ifenabled --no-sleep
		log_action_end_msg $?
		;;
	*)
		;;
esac

exit 0
