Here is a script I wrote to make it easy to add the --api extras. Just change the xxx.xxx.xxx.xxx to the IP of the miner and make sure to make it s .sh file and give it Permissions to execute as a program.
Cheers...
btw - this was written for linux systems (in case you did not know

)
#!/bin/sh
HOST='xxx.xxx.xxx.xxx 8100'
USER='root'
PASSWD='t1t2t3a5'
CMD=''
(
echo open "$HOST"
sleep 2
echo "$USER"
sleep 2
echo "$PASSWD"
sleep 2
echo "cd /home/inno_py/"
sleep 2
echo "mount / -o rw,remount"
sleep 2
echo "vi -c ':%s@--api-listen@--api-listen --api-network --api-allow W:0/0@g' -c wq /home/inno_py/inno_config.py"
sleep 2
) | telnet
Thanks for this! I don't know why I didn't think of doing that. I edited it to do all 60 of our A4+'s. Saving me loads of effort every firmware update.
It would be super easy for awesomeminer to bypass that. If they could just parse the JSON from
http://192.168.1.xx/cgi-bin/temper.py instead of accessing the cgminer API directly, you wouldn't need to modify system files and we'd have system temps as well. Plus you could do POST commands to it to change the pool on the ASIC so it doesn't flip back every reboot. Could also see/change OC and fan speeds.. etc..