Remove pointless komodo_cli variable

This commit is contained in:
Luke Childs
2018-07-06 07:20:31 +07:00
parent b48bf090bc
commit 8543360b20
3 changed files with 3 additions and 7 deletions

View File

@@ -5,7 +5,6 @@ set -eo pipefail
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
@@ -15,6 +14,6 @@ if [ -z "$delay" ]; then delay=20; fi
gen=" -gen"
fi
$komodo_binary $gen $args $overide_args -pubkey=$pubkey -addnode=$seed_ip &
./komodod $gen $args $overide_args -pubkey=$pubkey -addnode=$seed_ip &
sleep $delay
done

View File

@@ -1,8 +1,6 @@
#!/bin/bash
set -eo pipefail
komodo_cli='./komodo-cli'
./listassetchains | while read chain; do
$komodo_cli --ac_name=$chain stop
./komodo-cli --ac_name=$chain stop
done

View File

@@ -2,9 +2,8 @@
set -eo pipefail
args="$@"
komodo_cli='./komodo-cli'
./listassetchains | while read chain; do
echo $chain
$komodo_cli --ac_name=$chain $args
./komodo-cli --ac_name=$chain $args
done