#!/bin/bash
#

if [ $# -lt 1 ]
then 
echo "usage: scripts.sh filename"
exit 1
fi

FileName=$1
ExtName=${FileName##*.}

if [ $ExtName != "sh" ]
then
 exit 2
fi

chmod u+x $1 
if [ $? -eq 0 ]
then
	cd $GCP_ROOT/run/mnt
	source $1
fi

exit $? 

