Created
October 25, 2012 17:36
-
-
Save liferealized/3954223 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 {113,118,119,120,121}; 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