1
0
mirror of git://projects.qi-hardware.com/openwrt-packages.git synced 2024-12-22 15:56:26 +02:00

icarus-miner: add " around WORKDER

This commit is contained in:
Xiangfu Liu 2012-02-09 21:34:50 +08:00
parent 5b4b30874c
commit 3a9287c415
2 changed files with 2 additions and 2 deletions

View File

@ -18,5 +18,5 @@ if [ "${TRUE_COUNT}" == "0" ] || [ "${HASHRATE}" == "1" ]; then
ps ax | grep "python.*miner.py" | grep -v grep | sed 's/^ *//' | cut -d ' ' -f 1 | xargs kill -15
ICARUS_MINING_PATH="../queue_ver"
(cd ${ICARUS_MINING_PATH} && ./miner.py -u ${WORKER} -s /dev/ttyUSB0 > /dev/null 2>&1 &)
(cd ${ICARUS_MINING_PATH} && ./miner.py -u "${WORKER}" -s /dev/ttyUSB0 > /dev/null 2>&1 &)
fi

View File

@ -5,4 +5,4 @@ WORKER=http://xiangfu.z@gmail.com_1:1234@pit.deepbit.net:8332/
ps ax | grep "python.*miner.py" | grep -v grep | sed 's/^ *//' | cut -d ' ' -f 1 | xargs kill -15
ICARUS_MINING_PATH="../queue_ver"
(cd ${ICARUS_MINING_PATH} && ./miner.py -u ${WORKER} -s /dev/ttyUSB0 > /dev/null 2>&1 &)
(cd ${ICARUS_MINING_PATH} && ./miner.py -u "${WORKER}" -s /dev/ttyUSB0 > /dev/null 2>&1 &)