#!/bin/sh

pdir="${PWD}/"
cd /opt/nanopool/nanominer
if [ "${1:0:1}" == "-" ]
then
	pdir=""
fi
./nanominer "${pdir}${1}"
