1
0
mirror of git://projects.qi-hardware.com/openwrt-packages.git synced 2024-09-29 00:02:54 +03: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() {
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() {