Skip to content
Snippets Groups Projects
Commit 7414576f authored by Dmitriy A. Gerasimov's avatar Dmitriy A. Gerasimov
Browse files

[*] Fixed template value check

parent 35ee8551
No related branches found
No related tags found
No related merge requests found
......@@ -45,7 +45,7 @@ sed -i "s/{SERVER_ADDR}/$RET/" $DAP_CFG || true
NET_NAME="core-t"
db_get cellframe-node/core_t_enabled || true
if [ "$RET"=="true" ]; then
if [ "$RET" = "true" ]; then
DAP_CFG_NET="$DAP_PREFIX/etc/network/$NET_NAME.cfg"
DAP_CFG_NET_TPL="$DAP_PREFIX/share/configs/network/$NET_NAME.cfg.tpl"
DAP_NET_CFG=""
......@@ -68,7 +68,7 @@ fi
NET_NAME="kelvin-testnet"
db_get cellframe-node/kelvin_testnet_enabled || true
if [ "$RET"=="true" ]; then
if [ "$RET" = "true" ]; then
DAP_CFG_NET="$DAP_PREFIX/etc/network/$NET_NAME.cfg"
DAP_CFG_NET_TPL="$DAP_PREFIX/share/configs/network/$NET_NAME.cfg.tpl"
DAP_NET_CFG=""
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment