mirror of
https://github.com/aljazceru/cyphernode.git
synced 2025-12-17 04:35:14 +01:00
18 lines
257 B
Bash
18 lines
257 B
Bash
#!/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}
|
|
}
|