mirror of
https://github.com/raspiblitz/raspiblitz.git
synced 2025-09-26 03:28:04 +02:00
run display seed words as sudo
This commit is contained in:
@@ -388,7 +388,7 @@ if [ "${clnNode}" != "${choice}" ]; then
|
|||||||
if [ "${choice}" = "on" ]; then
|
if [ "${choice}" = "on" ]; then
|
||||||
echo "# turning ON"
|
echo "# turning ON"
|
||||||
/home/admin/config.scripts/cln.install.sh on mainnet
|
/home/admin/config.scripts/cln.install.sh on mainnet
|
||||||
/home/admin/config.scripts/cln.install.sh display-seed mainnet
|
sudo /home/admin/config.scripts/cln.install.sh display-seed mainnet
|
||||||
if [ "${testnet}" == "on" ]; then
|
if [ "${testnet}" == "on" ]; then
|
||||||
/home/admin/config.scripts/cln.install.sh on testnet
|
/home/admin/config.scripts/cln.install.sh on testnet
|
||||||
fi
|
fi
|
||||||
|
@@ -254,8 +254,8 @@ if [ "$1" = "display-seed" ]; then
|
|||||||
echo "# seewordFileExists(${seewordFileExists})"
|
echo "# seewordFileExists(${seewordFileExists})"
|
||||||
if [ "${seedwordFileExists}" == "1" ]; then
|
if [ "${seedwordFileExists}" == "1" ]; then
|
||||||
source ${seedwordFile}
|
source ${seedwordFile}
|
||||||
echo "# seedwords(${seedwords})"
|
#echo "# seedwords(${seedwords})"
|
||||||
echo "# seedwords6x4(${seedwords6x4})"
|
#echo "# seedwords6x4(${seedwords6x4})"
|
||||||
ack=0
|
ack=0
|
||||||
while [ ${ack} -eq 0 ]
|
while [ ${ack} -eq 0 ]
|
||||||
do
|
do
|
||||||
|
Reference in New Issue
Block a user