Created
December 7, 2012 17:02
-
-
Save liferealized/4234693 to your computer and use it in GitHub Desktop.
This file contains 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 | |
cd /; | |
tar cf cg.tar /opt/miners/cgminer/; | |
for n in {101,103,104,106,107,108,110,111,112,114,115,116,117}; do ssh root@192.168.2.$n 'tar -C / -x; mine restart' < /cg.tar; echo; done; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment