|
@ -1,7 +1,6 @@ |
|
|
#!/bin/bash |
|
|
#!/bin/bash |
|
|
|
|
|
|
|
|
DATA_DIR=/data |
|
|
CONF=${DATA}/vertcoin.conf |
|
|
CONF=${DATA_DIR}/vertcoin.conf |
|
|
|
|
|
|
|
|
|
|
|
if [ ! -e "${CONF}" ]; then |
|
|
if [ ! -e "${CONF}" ]; then |
|
|
echo "disablewallet=1 |
|
|
echo "disablewallet=1 |
|
@ -12,4 +11,4 @@ rpcuser=rpc |
|
|
rpcpassword=`dd if=/dev/urandom bs=18 count=1 2>/dev/null | base64`" > "${CONF}" |
|
|
rpcpassword=`dd if=/dev/urandom bs=18 count=1 2>/dev/null | base64`" > "${CONF}" |
|
|
fi |
|
|
fi |
|
|
|
|
|
|
|
|
exec vertcoind -datadir=${DATA_DIR} -conf=${CONF} "$@" |
|
|
exec vertcoind -datadir=${DATA} -conf=${CONF} "$@" |
|
|