mirror of
https://github.com/dashpay/dash.git
synced 2024-12-26 20:42:59 +01:00
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.
15 lines
258 B
Bash
Executable File
15 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 "$@"
|