#!/bin/sh
#

if [ ! -d /opt ]
then
	echo "Creating /opt"
	mkdir /opt
else
	echo "/opt exists"
fi

if test -L /usr/bin/ecap_plan
then
   rm /usr/bin/ecap_plan
fi

if test -f /usr/bin/ecap_plan
then
  IMAGE=/usr/bin/ecap_plan
  echo " renaming  $IMAGE to  $IMAGE.`date +"%m%h%Y_%H%M"`"
  mv $IMAGE $IMAGE."`date +"%m%h%Y_%H%M"`"
fi

exit 0

