Skip to content

Commit

Permalink
fix prompt
Browse files Browse the repository at this point in the history
  • Loading branch information
0xKtota authored Feb 12, 2024
1 parent 8cc3329 commit 5c099ba
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions node-installer.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2634,7 +2634,7 @@ IotaHornet() {
VAR_DEFAULT='true'
if [ -z "$VAR_IOTA_HORNET_AUTOPEERING" ]; then
echo "Set autopeering (default: $ca"$VAR_DEFAULT"$xx):"; echo "Press [Enter] to use default value:"; else echo "Set autopeering (config: $ca""$VAR_IOTA_HORNET_AUTOPEERING""$xx)"; echo "Press [Enter] to use existing config:"; fi
read -r -p '> Press [A] to enable Proof of Work... Press [X] key to disable... ' VAR_TMP;
read -r -p '> Press [A] to enable autopeering... Press [X] key to disable... ' VAR_TMP;
if [ -n "$VAR_TMP" ]; then
VAR_IOTA_HORNET_AUTOPEERING=$VAR_TMP
if [ "$VAR_IOTA_HORNET_AUTOPEERING" = 'a' ] || [ "$VAR_IOTA_HORNET_AUTOPEERING" = 'A' ]; then
Expand Down Expand Up @@ -3414,7 +3414,7 @@ ShimmerHornet() {
VAR_DEFAULT='true'
if [ -z "$VAR_SHIMMER_HORNET_AUTOPEERING" ]; then
echo "Set autopeering (default: $ca"$VAR_DEFAULT"$xx):"; echo "Press [Enter] to use default value:"; else echo "Set autopeering (config: $ca""$VAR_SHIMMER_HORNET_AUTOPEERING""$xx)"; echo "Press [Enter] to use existing config:"; fi
read -r -p '> Press [A] to enable Proof of Work... Press [X] key to disable... ' VAR_TMP;
read -r -p '> Press [A] to enable autopeering... Press [X] key to disable... ' VAR_TMP;
if [ -n "$VAR_TMP" ]; then
VAR_SHIMMER_HORNET_AUTOPEERING=$VAR_TMP
if [ "$VAR_SHIMMER_HORNET_AUTOPEERING" = 'a' ] || [ "$VAR_SHIMMER_HORNET_AUTOPEERING" = 'A' ]; then
Expand Down

0 comments on commit 5c099ba

Please sign in to comment.