mirror of
https://github.com/raspiblitz/raspiblitz.git
synced 2025-10-04 12:05:04 +02:00
fix network detection
This commit is contained in:
@@ -6,7 +6,7 @@
|
|||||||
source /home/admin/_version.info
|
source /home/admin/_version.info
|
||||||
|
|
||||||
## get basic info (its OK if not set yet)
|
## get basic info (its OK if not set yet)
|
||||||
source /mnt/hdd/raspiblitz.conf
|
source /mnt/hdd/raspiblitz.conf 2>/dev/null
|
||||||
|
|
||||||
# for old nodes
|
# for old nodes
|
||||||
if [ ${#network} -eq 0 ]; then
|
if [ ${#network} -eq 0 ]; then
|
||||||
@@ -16,7 +16,6 @@ if [ ${#network} -eq 0 ]; then
|
|||||||
if [ ${litecoinActive} -eq 1 ]; then
|
if [ ${litecoinActive} -eq 1 ]; then
|
||||||
network="litecoin"
|
network="litecoin"
|
||||||
fi
|
fi
|
||||||
network=`sudo cat /home/admin/.network`
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# for old nodes
|
# for old nodes
|
||||||
|
Reference in New Issue
Block a user