mirror of
https://github.com/aljazceru/cyphernode.git
synced 2026-01-20 13:04:20 +01:00
First push from Satoshi Portal's own cyphernode
This commit is contained in:
17
proxy_docker/app/script/utils.sh
Normal file
17
proxy_docker/app/script/utils.sh
Normal file
@@ -0,0 +1,17 @@
|
||||
#!/bin/sh
|
||||
|
||||
. ./trace.sh
|
||||
|
||||
get_prop()
|
||||
{
|
||||
trace "Entering get_prop()..."
|
||||
|
||||
local property=${1}
|
||||
trace "[get_prop] property=${property}"
|
||||
|
||||
local value=$(grep "${property}" config.properties | cut -d'=' -f2)
|
||||
|
||||
trace "[get_prop] value=${value}"
|
||||
|
||||
echo ${value}
|
||||
}
|
||||
Reference in New Issue
Block a user