Gavin Andresen
13 years ago
5 changed files with 15 additions and 24 deletions
@ -1,16 +0,0 @@
@@ -1,16 +0,0 @@
|
||||
#!/bin/sh |
||||
|
||||
set -e |
||||
|
||||
umask 077 |
||||
|
||||
basedir=~/.bitcoin |
||||
dbfile="$basedir/DB_CONFIG" |
||||
cfgfile="$basedir/bitcoin.conf" |
||||
|
||||
[ -e "$basedir" ] || mkdir "$basedir" |
||||
|
||||
# Bitcoin does not clean up DB log files by default |
||||
[ -e "$dbfile" ] || echo 'set_flags DB_LOG_AUTOREMOVE' > "$dbfile" |
||||
|
||||
exec /usr/lib/bitcoin/bitcoin-qt "$@" |
Loading…
Reference in new issue