Votre Nom 1 year ago
parent
commit
82658b92a9
1 changed files with 8 additions and 8 deletions
  1. 8 8
      options/chia.sh

+ 8 - 8
options/chia.sh

@@ -33,13 +33,14 @@ function print_centered {
      return 0
 }
 
-function jumpto
-{
-    label=$1
-    cmd=$(sed -n "/$label:/{:a;n;p;ba};" $0 | grep -v ':$')
-    eval "$cmd"
-    exit
-}
+#function jumpto
+#{
+#    label=$1
+#    cmd=$(sed -n "/$label:/{:a;n;p;ba};" $0 | grep -v ':$')
+#    eval "$cmd"
+#    exit
+#}
+
 function simplify_config {
 error_flag=0
 Gui=${Gui^^}
@@ -58,7 +59,6 @@ if [[ "$ChiaPos" == "YES" ]] || [[ "$ChiaPos" == "NO" ]];then error_flag=$((erro
 if [[ "$ChiaService" == "YES" ]] || [[ "$ChiaService" == "NO" ]];then error_flag=$((error_flag+0));else error_flag=$((error_flag+1));fi
 if [[ "$Miner" == "YES" ]] || [[ "$Miner" == "NO" ]];then error_flag=$((error_flag+0));else error_flag=$((error_flag+1));fi
 if [[ "$ChiaProxy" == "YES" ]] || [[ "$ChiaProxy" == "NO" ]];then error_flag=$((error_flag+0));else error_flag=$((error_flag+1));fi
-echo $error_flag
 }
 
 function intro_ {