Date:2012-02-09 14:34:50 (9 years 16 days ago)
Author:Xiangfu Liu
Commit:3a9287c4151cca1f181090afec3016d1e7e035cf
Message:icarus-miner: add " around WORKDER

Files: icarus-miner/data/root/scripts/icarus_monitor.sh (1 diff)
icarus-miner/data/root/scripts/restart.sh (1 diff)

Change Details

icarus-miner/data/root/scripts/icarus_monitor.sh
1818    ps ax | grep "python.*miner.py" | grep -v grep | sed 's/^ *//' | cut -d ' ' -f 1 | xargs kill -15
1919
2020    ICARUS_MINING_PATH="../queue_ver"
21    (cd ${ICARUS_MINING_PATH} && ./miner.py -u ${WORKER} -s /dev/ttyUSB0 > /dev/null 2>&1 &)
21    (cd ${ICARUS_MINING_PATH} && ./miner.py -u "${WORKER}" -s /dev/ttyUSB0 > /dev/null 2>&1 &)
2222fi
icarus-miner/data/root/scripts/restart.sh
55ps ax | grep "python.*miner.py" | grep -v grep | sed 's/^ *//' | cut -d ' ' -f 1 | xargs kill -15
66
77ICARUS_MINING_PATH="../queue_ver"
8(cd ${ICARUS_MINING_PATH} && ./miner.py -u ${WORKER} -s /dev/ttyUSB0 > /dev/null 2>&1 &)
8(cd ${ICARUS_MINING_PATH} && ./miner.py -u "${WORKER}" -s /dev/ttyUSB0 > /dev/null 2>&1 &)

Archive Download the corresponding diff file



interactive