mirror of
https://github.com/AskDavis/cyphernode.git
synced 2026-01-01 04:25:58 -08:00
moved configs into environment (#17)
* moved configs into environment * fixed copy pasta * changed proxyuser to proxy in data paths * fixed typo
This commit is contained in:
@@ -1,7 +1,6 @@
|
||||
#!/bin/sh
|
||||
|
||||
. ./trace.sh
|
||||
. ./utils.sh
|
||||
|
||||
deriveindex()
|
||||
{
|
||||
@@ -10,8 +9,8 @@ deriveindex()
|
||||
local index=${1}
|
||||
trace "[deriveindex] index=${index}"
|
||||
|
||||
local pub32=$(get_prop "derivation.pub32")
|
||||
local path=$(get_prop "derivation.path" | sed -En "s/n/${index}/p")
|
||||
local pub32=$DERIVATION_PUB32
|
||||
local path=$(echo -e $DERIVATION_PATH | sed -En "s/n/${index}/p")
|
||||
# pub32=$(grep "derivation.pub32" config.properties | cut -d'=' -f2)
|
||||
# path=$(grep "derivation.path" config.properties | cut -d'=' -f2 | sed -En "s/n/${index}/p")
|
||||
|
||||
@@ -43,4 +42,4 @@ send_to_pycoin()
|
||||
trace_rc ${returncode}
|
||||
return ${returncode}
|
||||
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user