mirror of
git://projects.qi-hardware.com/openwrt-packages.git
synced 2025-04-21 12:27:27 +03:00
cgminer: enable all IP allowed to access the API
This commit is contained in:
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user