nolim1t
5 years ago
No known key found for this signature in database
GPG Key ID: F6287B82CC84BCBD
2 changed files with
6 additions and
1 deletions
-
stage2/05-prepare-home-dir/01-run.sh
-
stage2/08-configure-bitcoind/01-run.sh
|
|
@ -5,5 +5,6 @@ touch $ROOTFS_DIR/home/$FIRST_USER_NAME/.save_password |
|
|
|
echo "Making Secrets directory" |
|
|
|
mkdir -p $ROOTFS_DIR/home/$FIRST_USER_NAME/secrets |
|
|
|
|
|
|
|
|
|
|
|
echo "Executablesi directory" |
|
|
|
mkdir -p $ROOTFS_DIR/home/$FIRST_USER_NAME/bin |
|
|
|
|
|
|
|
|
|
@ -4,3 +4,7 @@ chmod 644 files/bitcoin.conf |
|
|
|
mkdir ${ROOTFS_DIR}/home/${FIRST_USER_NAME}/bitcoin |
|
|
|
cp files/bitcoin.conf ${ROOTFS_DIR}/home/${FIRST_USER_NAME}/bitcoin/bitcoin.conf |
|
|
|
|
|
|
|
echo "Downloading password utility" |
|
|
|
cd ${ROOTFS_DIR}/home/${FIRST_USER_NAME}/bin |
|
|
|
curl "https://raw.githubusercontent.com/bitcoin/bitcoin/master/share/rpcauth/rpcauth.py" 2>/dev/null 1>rpcauth.py |
|
|
|
chmod 755 rpcauth.py |
|
|
|