Created
September 9, 2017 15:20
-
-
Save kusayuzayushko/ce6177f028dcb02dc4364652731bb041 to your computer and use it in GitHub Desktop.
bios-update.sh
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
num=`sudo /root/utils/atiflash -i | grep pass | wc -l` | |
echo "$num cards detected" | |
echo "Downloading ROM file" | |
wget https://www.dropbox.com/s/o0ej51cnk7oom8x/Pulse100.rom -P /home/miner | |
for (( i = 0; i < $num; i++ )); do | |
echo "Flashing card: $i" | |
sudo /root/utils/atiflash -p $i /home/miner/Pulse100.rom | |
done | |
rm -f /home/miner/Pulse100.rom | |
sudo reboot |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment