Skip to content
Snippets Groups Projects
Commit 0bd8e1d8 authored by Thomas Juerges's avatar Thomas Juerges
Browse files

Generalise the DS starting script and add it to the itango tools

parent 3169389a
No related branches found
No related tags found
No related merge requests found
runThis=$(basename ${0})
runThis=${runThis//.sh/.py}
if [ -f ${runThis} ]; then
myDir=${PWD}
else
myDir=${PWD}/$(dirname ${0})
fi
if [ ${#} -eq 1 ]; then
instance="${1}"
else
echo "The instance of this device server must be provided!"
exit -1
fi
containerPath=${myDir//${HOME}\//\/hosthome\/}
docker exec -it itango python3 ${containerPath}/${runThis} ${instance}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment