Skip to content

Instantly share code, notes, and snippets.

@Demontager
Created April 30, 2014 17:46
Show Gist options
  • Save Demontager/9d5b63e185014201af95 to your computer and use it in GitHub Desktop.
Save Demontager/9d5b63e185014201af95 to your computer and use it in GitHub Desktop.
if_temp_mail() {
for server in "${miners[@]}"; do
cat <<EOF | ssh root@$server 'cat - > /tmp/cardcheck.sh'
this $expand
this $expand
EOF
cat <<'EOF'
dont $expand
dont $expand
dont $expand
EOF
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment