From 9a50542e02cd41625be309ce163dae9726e22881 Mon Sep 17 00:00:00 2001 From: Moul Date: Tue, 29 Dec 2015 23:15:33 +0400 Subject: [PATCH] Fixes --- manifest.json | 4 +++- scripts/install | 6 +++--- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/manifest.json b/manifest.json index 8a902b3..a7e8e6c 100644 --- a/manifest.json +++ b/manifest.json @@ -80,9 +80,11 @@ { "name": "cpu", "ask": { - "en": "Which CPU load limit would you like your uCoin node don't exceed?", + "en": "Which CPU load limit percentage would you like your uCoin node don't exceed?", "fr": "Quel pourcentage de charge processeur ne souhaitez-vous pas que le nœud uCoin dépasse ?" } + "example": "50", + "default": "50" } ] } diff --git a/scripts/install b/scripts/install index 62d397c..ab26a35 100755 --- a/scripts/install +++ b/scripts/install @@ -27,9 +27,9 @@ fi # Check node availability if curl --output /dev/null --silent --head --fail "$sync_node:$sync_port/node/summary"; then - echo "Node available." + echo "Node $sync_node:$sync_port is available" else - echo "Node $sync_node:$sync_port not available" + echo "Node $sync_node:$sync_port is not available" exit 1 fi @@ -49,7 +49,7 @@ ucoind init --autoconf ucoind config --remoteh $domain --port $port --remotep $port --salt $salt --passwd $password --cpu $cpu # Synchronize uCoin node -echo "Synchronizing with $sync_node:$sync_port. It may take a while. More than ten minutes" +echo "Synchronizing with $sync_node:$sync_port. It may take a while." ucoind sync $sync_node $sync_port --nointeractive > /dev/null 2>&1 # Launch uCoin node