mirror of
https://github.com/rootzoll/raspiblitz.git
synced 2025-02-24 06:48:00 +01:00
create temp file in shared memory (/dev/shm/) (#2058)
This commit is contained in:
parent
a9c64754f5
commit
83c4d26e7f
9 changed files with 15 additions and 15 deletions
|
@ -1,5 +1,5 @@
|
|||
#!/bin/bash
|
||||
_temp="./download/dialog.$$"
|
||||
_temp=$(mktemp -p /dev/shm/)
|
||||
|
||||
## get basic info
|
||||
source /home/admin/raspiblitz.info 2>/dev/null
|
||||
|
|
|
@ -216,7 +216,7 @@ case $CHOICE in
|
|||
result=""
|
||||
while [ ${#result} -eq 0 ]
|
||||
do
|
||||
_temp="/home/admin/download/dialog.$$"
|
||||
_temp=$(mktemp -p /dev/shm/)
|
||||
l1="Please enter the new name of your LND node:\n"
|
||||
l2="different name is better for a fresh identity\n"
|
||||
l3="one word, keep characters basic & not too long"
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#!/bin/bash
|
||||
_temp="./download/dialog.$$"
|
||||
_error="./.error.out"
|
||||
_temp=$(mktemp -p /dev/shm/)
|
||||
_error=$(mktemp -p /dev/shm/)
|
||||
|
||||
echo "please wait ..."
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#!/bin/bash
|
||||
_temp="./download/dialog.$$"
|
||||
_error="./.error.out"
|
||||
_temp=$(mktemp -p /dev/shm/)
|
||||
_error=$(mktemp -p /dev/shm/)
|
||||
|
||||
# load raspiblitz config data (with backup from old config)
|
||||
source /home/admin/raspiblitz.info
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
#!/bin/bash
|
||||
clear
|
||||
_temp="./download/dialog.$$"
|
||||
_error="./.error.out"
|
||||
_temp=$(mktemp -p /dev/shm/)
|
||||
_error=$(mktemp -p /dev/shm/)
|
||||
sudo chmod 7777 ${_error} 2>/dev/null
|
||||
|
||||
# load raspiblitz config data (with backup from old config)
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#!/bin/bash
|
||||
_temp="./download/dialog.$$"
|
||||
_error="./.error.out"
|
||||
_temp=$(mktemp -p /dev/shm/)
|
||||
_error=$(mktemp -p /dev/shm/)
|
||||
|
||||
# load raspiblitz config data (with backup from old config)
|
||||
source /home/admin/raspiblitz.info
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
#!/bin/bash
|
||||
clear
|
||||
_temp="./download/dialog.$$"
|
||||
_error="./.error.out"
|
||||
_temp=$(mktemp -p /dev/shm/)
|
||||
_error=$(mktemp -p /dev/shm/)
|
||||
sudo chmod 7777 ${_error} 2>/dev/null
|
||||
|
||||
# load raspiblitz config data (with backup from old config)
|
||||
|
|
|
@ -17,7 +17,7 @@ if [ "$EUID" -ne 0 ]
|
|||
fi
|
||||
|
||||
# tempfile
|
||||
_temp="./dialog.$$"
|
||||
_temp=$(mktemp -p /dev/shm/)
|
||||
|
||||
# load raspiblitz config (if available)
|
||||
source /home/admin/raspiblitz.info
|
||||
|
|
|
@ -4,8 +4,8 @@ network=mainnet
|
|||
chain=bitcoin
|
||||
|
||||
if [ "$1" = "-menu" ]; then
|
||||
_temp="./download/dialog.$$"
|
||||
_error="./.error.out"
|
||||
_temp=$(mktemp -p /dev/shm/)
|
||||
_error=$(mktemp -p /dev/shm/)
|
||||
|
||||
# load raspiblitz config data (with backup from old config)
|
||||
source /home/admin/raspiblitz.info
|
||||
|
|
Loading…
Add table
Reference in a new issue