#!/bin/sh
BOOTLOG=/mnt/record/pvr/log/bootlog
bootname="iptvpvr"
. /lib/lsb/init-functions

case "$1" in
  start)
	bootlog "iptv PVR up and running :)"
	chmod 666 $BOOTLOG
	DATE=`date +%Y-%m-%d_%H-%M-%S`
	mv "$BOOTLOG" "$BOOTLOG.$DATE"
	;;
  stop)
	;;
  *)
	echo "Usage: $0 {start|stop}"
	exit 1
	;;
esac

exit 0

