mirror of
git://projects.qi-hardware.com/openwrt-packages.git
synced 2024-11-22 13:41:53 +02:00
cgminer revert sleep before start cgminer, work around under rc.local
This commit is contained in:
parent
1eeb495841
commit
21c03142d1
@ -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() {
|
||||
|
Loading…
Reference in New Issue
Block a user