diff options
author | root <root@chinaman.(none)> | 2011-07-08 17:24:48 +0200 |
---|---|---|
committer | root <root@chinaman.(none)> | 2011-07-08 17:24:48 +0200 |
commit | e03dc47d843f4ee351f59528bed7d8d581f827f7 (patch) | |
tree | 5eafa7d59039974b0120c89ea300867fbdfc45c2 /mining/bin/cleanup_tmp | |
parent | 615f11da5f781e817d016afebed8ac26ed6c83e7 (diff) |
mining: added archlinux cruise control
mining/Makefile: added archlinux cruise control (auto installer) which always does the right thing.
loosely after http://rubyists.github.com/2011/06/08/how-to-build-a-namecoin-or-bitcoin-miner-in98-easy-steps.html
mining/{user/,}/bin:renamed
mining/bin/newkey.sh: add policy Xorg keygen
Diffstat (limited to 'mining/bin/cleanup_tmp')
-rwxr-xr-x | mining/bin/cleanup_tmp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/mining/bin/cleanup_tmp b/mining/bin/cleanup_tmp new file mode 100755 index 00000000..e1395b19 --- /dev/null +++ b/mining/bin/cleanup_tmp @@ -0,0 +1,4 @@ +#! /bin/sh +ls -lAtr /tmp/ | sed -rn ' + /\.so$/{$!{s/.* ([A-Za-z0-9]+\.so)$/rm -v \/tmp\/\1/p}} +' | sudo sh |