That would be great! Does it also fix the "no shares detected" after doing a "mine restart" manually?
I'll check that. I want to do one last completely fresh run through before uploading it. I'll mark out all changes here.
-------
Going to break this into two posts for ease. This is the setup script.
** THIS IS FOR BAMT USERS .. SMOS/Others use at your own risk, I do not know if it will work for you **
INSTALL CGMON on BAMT
** Tested to work on BAMT 1.3 fresh install, your mileage may vary.
** You can do most of the commands manually, but a simple .sh script has been provided.
- Download the .sh file at bottom of post and place it in /home/user/ directory
or
- Follow step by step manual way below.
SCRIPT WAY:
- After placing it in /home/user/ directory, give execute rights to file.
chmod +x /home/user/inst_cgmon.sh
- Then execute it via Terminal
bash /home/user/inst_cgmon.sh
- Follow along the prompts, brief explanation:
-- Get required files, including cgmon.tcl, applies proper permissions
-- Prompts for option to launch NANO edit of cgmon.tcl
-- Offers to create crontab for every 2 minutes (even)
For what edits should be used in cgmon.tcl for BAMT, see next post.
MANUAL WAY:
1. Open a ROOT Terminal and run the following commands (wait for each to finish).
apt-get update -y
apt-get install tcl -y
apt-get install php5-cli -y
apt-get install php5 -y
cd /home/user
wget http://www.forked.net/~apex/cgmon/cgmon.tcl
chmod +x cgmon.tcl
echo -e "" > /home/user/cgmon.log
chmod 755 /home/user/cgmon.log
2. Create the CRON job
Open a ROOT Terminal and type "crontab -e"
Add the following:
*/2 * * * * root /home/user/cgmon.tcl >/dev/null 2>&1
Save (write) it.
3. See next post for recommended BAMT edits (how I got it to work) of cgmon.tcl
Can't attach, so download here:
http://kaelmedia.com/files/bamt-scripts/inst_cgmon.shOpen that file in your browser to see the code.