Cool but to me looks like it should be from line 96-135
Here is my code from 96-135. Am I right?
echo "{" > /config/bmminer.conf
echo "\"pools\" : [" >> /config/bmminer.conf
echo "{" >> /config/bmminer.conf
echo "\"url\" : \"${ant_pool1url}\"," >> /config/bmminer.conf
echo "\"user\" : \"${ant_pool1user}\"," >> /config/bmminer.conf
echo "\"pass\" : \"${ant_pool1pw}\"" >> /config/bmminer.conf
echo "}," >> /config/bmminer.conf
echo "{" >> /config/bmminer.conf
echo "\"url\" : \"${ant_pool2url}\"," >> /config/bmminer.conf
echo "\"user\" : \"${ant_pool2user}\"," >> /config/bmminer.conf
echo "\"pass\" : \"${ant_pool2pw}\"" >> /config/bmminer.conf
echo "}," >> /config/bmminer.conf
echo "{" >> /config/bmminer.conf
echo "\"url\" : \"${ant_pool3url}\"," >> /config/bmminer.conf
echo "\"user\" : \"${ant_pool3user}\"," >> /config/bmminer.conf
echo "\"pass\" : \"${ant_pool3pw}\"" >> /config/bmminer.conf
echo "}" >> /config/bmminer.conf
echo "]" >> /config/bmminer.conf
echo "," >> /config/bmminer.conf
echo "\"api-listen\" : "true"," >> /config/bmminer.conf
echo "\"api-network\" : "true"," >> /config/bmminer.conf
echo "\"api-groups\" : \"A:stats:pools:devs:summary:version\"," >> /config/bmminer.conf
echo "\"api-allow\" : \"A:0/0,W:*\"," >> /config/bmminer.conf
if [ "${ant_nobeeper}" = "true" ]; then
echo "\"bitmain-nobeeper\" : "true"," >> /config/bmminer.conf
fi
if [ "${ant_notempoverctrl}" = "true" ]; then
echo "\"bitmain-notempoverctrl\" : "true"," >> /config/bmminer.conf
fi
if [ "${ant_fan_customize_switch}" = "true" ]; then
echo "\"bitmain-fan-ctrl\" : "true"," >> /config/bmminer.conf
echo "\"bitmain-fan-pwm\" : \"${ant_fan_customize_value}\"," >> /config/bmminer.conf
fi
echo "\"bitmain-use-vil\" : "true"," >> /config/bmminer.conf
echo "\"bitmain-freq\" : \"${ant_freq}\"," >> /config/bmminer.conf
echo "\"bitmain-voltage\" : \"${ant_voltage}\"," >> /config/bmminer.conf
echo "\"multi-version\" : \"1\"" >> /config/bmminer.conf
echo "}"