8f6111bb9c
* Updates package description to note that blockchain now takes 2+ GB instead of 150+ MB. * Stop creating DB_CONFIG with DB_LOG_AUTO_REMOVE as that is set in Bitcoin itself now. * Update changelog with 0.6.2 and the current updates.
14 lines
258 B
Bash
Executable file
14 lines
258 B
Bash
Executable file
#!/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 "$@"
|