mirror of
git://projects.qi-hardware.com/openwrt-packages.git
synced 2024-11-16 18:54:04 +02:00
cgminer: enable all IP allowed to access the API
This commit is contained in:
parent
d3474a134b
commit
fddf50a8f7
@ -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() {
|
||||
|
Loading…
Reference in New Issue
Block a user