mirror of
https://github.com/raspiblitz/raspiblitz.git
synced 2025-04-12 05:39:22 +02:00
make sure /var/cache/raspiblitz/temp exists #2832
This commit is contained in:
parent
df4f835cb5
commit
a5440dd8a0
@ -7,7 +7,7 @@ source /mnt/hdd/raspiblitz.conf
|
||||
|
||||
source <(/home/admin/config.scripts/network.aliases.sh getvars cl $1)
|
||||
|
||||
NETclEncryptedHSM="${netprefix}clEncryptedHSM"
|
||||
sudo mkdir /var/cache/raspiblitz/temp
|
||||
|
||||
# BASIC MENU INFO
|
||||
WIDTH=64
|
||||
|
@ -5,7 +5,9 @@ echo "# get raspiblitz config"
|
||||
source /home/admin/raspiblitz.info
|
||||
source /mnt/hdd/raspiblitz.conf
|
||||
|
||||
source <(/home/admin/config.scripts/network.aliases.sh getvars lnd $1)
|
||||
source <(/home/admin/config.scripts/network.aliases.sh getvars lnd "$1")
|
||||
|
||||
sudo mkdir /var/cache/raspiblitz/temp
|
||||
|
||||
if ! pip list | grep grpc; then sudo -H python3 -m pip install grpcio==1.38.1; fi
|
||||
|
||||
|
@ -368,7 +368,7 @@ elif [ "${abcd}" = "x" ]; then
|
||||
# second parameter is the flexible text
|
||||
text=$2
|
||||
resultFile=$3
|
||||
shred -u $3 2>/dev/null
|
||||
shred -u "$3" 2>/dev/null
|
||||
|
||||
# ask user for new password (first time)
|
||||
password1=$(whiptail --passwordbox "\n${text}:\n(min 8chars, 1word, chars+number, no specials)" 10 52 "" --backtitle "RaspiBlitz" 3>&1 1>&2 2>&3)
|
||||
@ -413,7 +413,7 @@ elif [ "${abcd}" = "x" ]; then
|
||||
fi
|
||||
|
||||
# store result is file
|
||||
echo "${password1}" > ${resultFile}
|
||||
echo "${password1}" > "${resultFile}"
|
||||
|
||||
elif [ "${abcd}" = "cl" ]; then
|
||||
/home/admin/config.scripts/cl.hsmtool.sh change-password mainnet
|
||||
|
Loading…
x
Reference in New Issue
Block a user