1
0
mirror of git://projects.qi-hardware.com/openwrt-packages.git synced 2024-11-22 09:31:53 +02:00

cgminer: enable all IP allowed to access the API

This commit is contained in:
Xiangfu 2012-12-29 11:27:25 +08:00
parent d3474a134b
commit fddf50a8f7

View File

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