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 | 6f9c86567b092795acc8c6630b739395b4632798 (patch) | |
tree | 3b4076757580779de042abb2ba826ab2f309b761 /btc/mining/bin/newkey.sh | |
parent | 89bafc22e43cefec51a77de36fd0ce64c01452da (diff) | |
parent | f50fa7a8434ab261f1f0da964bb0164eb993a13c (diff) |
Merge branch 'master' of https://github.com/krebscode/painload
Diffstat (limited to 'btc/mining/bin/newkey.sh')
-rwxr-xr-x | btc/mining/bin/newkey.sh | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/btc/mining/bin/newkey.sh b/btc/mining/bin/newkey.sh deleted file mode 100755 index e71ab85b..00000000 --- a/btc/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 |