Hi,
I want to run my mining script at startup. I'm using Linuxcoin 0.21b persistent on a thumb drive.
I put my script file (miner.sh) in /etc/init.d directory and used update-rc to register it. But nothing happen when linuxcoin finished booting.
I also tried to put the script in to local.rc but no luck.
Please help.
Here is miner.sh:
atitweak -m 300
atitweak -e 960
DISPLAY=0.0 aticonfig --pplib-cmd="set fanspeed 0 75"
DISPLAY=0.1 aticonfig --pplib-cmd="set fanspeed 0 75"
DISPLAY=0.2 aticonfig --pplib-cmd="set fanspeed 0 75"
DISPLAY=0.3 aticonfig --pplib-cmd="set fanspeed 0 75"
/usr/bin/x-terminal-emulator -t "worker0" -e /home/user/Desktop/deepbit0.sh
/usr/bin/x-terminal-emulator -t "worker1" -e /home/user/Desktop/deepbit1.sh
/usr/bin/x-terminal-emulator -t "worker2" -e /home/user/Desktop/deepbit2.sh
/usr/bin/x-terminal-emulator -t "worker3" -e /home/user/Desktop/deepbit3.sh
Each deepbit file has the same content:
If I run the miner.sh file in the root terminal manually, it run perfectly.
Please help me to resolve this problem.