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

cgminer revert sleep before start cgminer, work around under rc.local

This commit is contained in:
Xiangfu 2012-05-18 13:26:26 +08:00
parent 1eeb495841
commit 21c03142d1

View File

@ -9,7 +9,7 @@ POOLS="$POOL1 $POOL2 $POOL3"
start() {
DEVS=`find /dev/ -type c -name "ttyUSB*" | sed 's/^/-S/' | sed ':a;N;$!ba;s/\n/ /g'`
sleep 5 && cgminer -q -T --api-network --api-listen $POOLS $DEVS &
cgminer -q -T --api-network --api-listen $POOLS $DEVS &
}
stop() {