diff options
author | user <user@bergwerk> | 2011-07-11 06:21:35 +0000 |
---|---|---|
committer | user <user@bergwerk> | 2011-07-11 06:21:35 +0000 |
commit | b95bc0963f5be17a45600ac4750a721b1ed30e4d (patch) | |
tree | 762d792d7d75049fffbb603bc492aee556d27596 /mining/bin/newkey.sh | |
parent | 509e01916006cdbffb27918d49c3f569029a3ddb (diff) | |
parent | cec215157622abd26173fe7b138f6200bbfa29a4 (diff) |
Merge branch 'master' of https://github.com/krebscode/painload
Diffstat (limited to 'mining/bin/newkey.sh')
-rwxr-xr-x | mining/bin/newkey.sh | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/mining/bin/newkey.sh b/mining/bin/newkey.sh deleted file mode 100755 index e71ab85b..00000000 --- a/mining/bin/newkey.sh +++ /dev/null @@ -1,15 +0,0 @@ -#!/bin/sh - -auth=$HOME/.Xauthority -cp /dev/null $auth - -if [ "$1" = "-md5" ]; then - key=`pstat -pfS | md5` -else - key=`perl -e 'srand; printf int(rand(10000000000000))'` - key=$key$key -fi - -xauth add unix:0 . $key - -xauth add ${HOST}:0 . $key |