mirror of
https://github.com/aljazceru/mutiny-net.git
synced 2025-12-17 05:54:22 +01:00
init commit of 24.0.1 custom signet image
This commit is contained in:
14
run.sh
Executable file
14
run.sh
Executable file
@@ -0,0 +1,14 @@
|
||||
#!/bin/bash
|
||||
|
||||
# run bitcoind
|
||||
bitcoind --daemonwait
|
||||
sleep 5
|
||||
echo "get magic"
|
||||
magic=$(cat /root/.bitcoin/signet/debug.log | grep -m1 magic)
|
||||
magic=${magic:(-8)}
|
||||
echo $magic > /root/.bitcoin/MAGIC.txt
|
||||
|
||||
# if in mining mode
|
||||
if [[ "$MINERENABLED" == "1" ]]; then
|
||||
mine.sh
|
||||
fi
|
||||
Reference in New Issue
Block a user