Browse Source

Add rpcauth.py to /Users/barryteoh/bin

master
nolim1t 5 years ago
parent
commit
9097889d17
No known key found for this signature in database GPG Key ID: F6287B82CC84BCBD
  1. 3
      stage2/05-prepare-home-dir/01-run.sh
  2. 4
      stage2/08-configure-bitcoind/01-run.sh

3
stage2/05-prepare-home-dir/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
stage2/08-configure-bitcoind/01-run.sh

@ -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

Loading…
Cancel
Save