mirror of
https://git.hush.is/hush/hush3.git
synced 2025-09-25 00:04:03 -04:00
21 lines
458 B
Bash
Executable File
21 lines
458 B
Bash
Executable File
#!/bin/bash
|
|
set -eo pipefail
|
|
|
|
# You can now add delay line to pubkey.txt file
|
|
source pubkey.txt
|
|
overide_args="$@"
|
|
seed_ip=`getent hosts zero.kolo.supernet.org | awk '{ print $1 }'`
|
|
komodo_binary='./komodod'
|
|
|
|
if [ -z "$delay" ]; then delay=20; fi
|
|
|
|
./listassetchainparams | while read args; do
|
|
gen=""
|
|
if [ $[RANDOM % 10] == 1 ]; then
|
|
gen=" -gen"
|
|
fi
|
|
|
|
$komodo_binary $gen $args $overide_args -pubkey=$pubkey -addnode=$seed_ip &
|
|
sleep $delay
|
|
done
|