mirror of
https://github.com/raspiblitz/raspiblitz.git
synced 2025-09-19 20:24:39 +02:00
fix network alias when not set
This commit is contained in:
@@ -35,19 +35,19 @@ if [ $1 = getvars ];then
|
||||
fi
|
||||
echo "CHAIN=${chain}net"
|
||||
echo "chain=${chain}"
|
||||
if [ ${chain} = "test" ];then
|
||||
if [ "${chain}" = "test" ];then
|
||||
netprefix="t"
|
||||
echo "netprefix=t"
|
||||
L1rpcportmod=1
|
||||
L2rpcportmod=1
|
||||
echo "portprefix=1"
|
||||
elif [ ${chain} = "sig" ];then
|
||||
elif [ "${chain}" = "sig" ];then
|
||||
netprefix="s"
|
||||
echo "netprefix=s"
|
||||
L1rpcportmod=3
|
||||
L2rpcportmod=3
|
||||
echo "portprefix=3"
|
||||
elif [ ${chain} = "main" ];then
|
||||
elif [ "${chain}" = "main" ];then
|
||||
netprefix=""
|
||||
echo "netprefix=''"
|
||||
L1rpcportmod=""
|
||||
|
Reference in New Issue
Block a user