twisterp2pblockchainnetworkbittorrentmicrobloggingipv6social-networkdhtdecentralizedtwisterarmyp2p-networktwister-servertwister-ipv6twister-core
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
258 B
15 lines
258 B
13 years ago
|
#!/bin/sh
|
||
|
|
||
|
set -e
|
||
|
|
||
|
umask 077
|
||
|
|
||
|
basedir=~/.bitcoin
|
||
|
cfgfile="$basedir/bitcoin.conf"
|
||
|
|
||
|
[ -e "$basedir" ] || mkdir "$basedir"
|
||
|
|
||
|
[ -e "$cfgfile" ] || perl -le 'print"rpcpassword=",map{(a..z,A..Z,0..9)[rand 62]}0..9' > "$cfgfile"
|
||
|
|
||
|
exec /usr/lib/bitcoin/bitcoind "$@"
|