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:
parent
5b4b30874c
commit
3a9287c415
@ -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
|
||||
|
@ -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 &)
|
||||
|
Loading…
Reference in New Issue
Block a user