mirror of
https://github.com/mynodebtc/mynode.git
synced 2024-11-15 01:49:15 +00:00
14 lines
254 B
Bash
Executable File
14 lines
254 B
Bash
Executable File
#!/bin/bash
|
|
|
|
source /usr/share/mynode/mynode_config.sh
|
|
|
|
set -x
|
|
|
|
sleep 60s
|
|
|
|
# Give admin the ability to access the BTC cookie
|
|
cp -f /mnt/hdd/mynode/bitcoin/.cookie /home/admin/.bitcoin/.cookie
|
|
chown admin:admin /home/admin/.bitcoin/.cookie
|
|
|
|
# Sync FS
|
|
sync |