diff --git a/README.md b/README.md index 5d8a82a7..11b573a9 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -

Yiimpool Yiimp Install Scrypt v0.6.6 With DaemonBuilder and addport (update 2022-12-17)

+

Yiimpool Yiimp Install Scrypt v0.6.7 With DaemonBuilder And Addport Support (update 2022-12-21)

DiscordGitHub issuesGitHub release (latest by date) diff --git a/daemon_builder/menu.sh b/daemon_builder/menu.sh index ab817733..bb9cf02c 100644 --- a/daemon_builder/menu.sh +++ b/daemon_builder/menu.sh @@ -18,7 +18,10 @@ RESULT=$(dialog --stdout --nocancel --default-item 1 --title "DamonBuilder" --me ' ' "- NOT WORKING YET. WORK IN PROGRESS If your last coin failed to build try this -" \ 3 " WORK IN-PROGRESS! Daemon Build Failed - Help!" \ 4 Exit) - +if [ $RESULT = ] +then +bash $(basename $0) && exit; +fi if [ $RESULT = 1 ] then diff --git a/daemon_builder/menu2.sh b/daemon_builder/menu2.sh index 50f984c2..c8763bb9 100644 --- a/daemon_builder/menu2.sh +++ b/daemon_builder/menu2.sh @@ -18,7 +18,10 @@ RESULT=$(dialog --stdout --title "DaemonBuilder" --menu "Choose one" -1 60 7 \ 4 "Install Coin with makefile.unix file" \ 5 "Install Coin with CMake file" \ 6 Exit) - +if [ $RESULT = ] +then +bash $(basename $0) && exit; +fi if [ $RESULT = 1 ] then diff --git a/daemon_builder/menu3.sh b/daemon_builder/menu3.sh index 135f8015..c2858f8d 100644 --- a/daemon_builder/menu3.sh +++ b/daemon_builder/menu3.sh @@ -12,6 +12,10 @@ RESULT=$(dialog --stdout --title "DaemonBuilder" --menu "Choose one" -1 60 4 \ 2 "Update Berkeley 5.x Coin with autogen file" \ 3 "Update Coin with makefile.unix file" \ 4 Exit) +if [ $RESULT = ] +then +bash $(basename $0) && exit; +fi if [ $RESULT = 1 ] then diff --git a/install.sh b/install.sh index 540733ca..89ee6b05 100644 --- a/install.sh +++ b/install.sh @@ -1,17 +1,15 @@ #!/usr/bin/env bash - - ######################################################### # Source https://mailinabox.email/ https://github.com/mail-in-a-box/mailinabox # Updated by Afiniel for Yiimpool use... # This script is intended to be run like this: # # curl https://raw.githubusercontent.com/afiniel/yiimp_install_script/master/install.sh | bash - +# # ######################################################### if [ -z "${TAG}" ]; then - TAG=v0.6.6 + TAG=v0.6.7 fi @@ -52,4 +50,4 @@ if [ "${TAG}" != `git describe --tags` ]; then fi # Start setup script. -bash $HOME/yiimp_install_script/install/start.sh \ No newline at end of file +bash $HOME/yiimp_install_script/install/start.sh diff --git a/install/functions.sh b/install/functions.sh index a854dc5e..1f1e2afd 100644 --- a/install/functions.sh +++ b/install/functions.sh @@ -82,7 +82,7 @@ function install_end_message { figlet -f slant -w 100 "Complete!" echo -e "$CYAN --------------------------------------------------------------------------- $COL_RESET" - echo -e "$YELLOW | Version:$GREEN v0.6.6 | $COL_RESET" + echo -e "$YELLOW | Version:$GREEN v0.6.7 | $COL_RESET" echo -e "$YELLOW Yiimp Installer Script Fork By Afiniel https://github.com/afiniel/yiimp_install_script $COL_RESET" echo -e "$CYAN --------------------------------------------------------------------------- $COL_RESET" echo -e "$YELLOW Your mysql information (login/Password) is saved in:$RED ~/.my.cnf $COL_RESET" @@ -113,7 +113,7 @@ function term_art { figlet -f slant -w 100 "YiimpooL" | lolcat echo -e "$CYAN ----------------------------------------------------------> $COL_RESET" echo -e "$CYAN |$YELLOW Yiimp Installer Script Fork By Afiniel! $COL_RESET" - echo -e "$CYAN |$MAGENTA Version:$GREEN v0.6.6 $COL_RESET" + echo -e "$CYAN |$MAGENTA Version:$GREEN v0.6.7 $COL_RESET" echo -e "$CYAN ----------------------------------------------------------------------> $COL_RESET" echo -e "$CYAN |$YELLOW This script will install all the dependencies and will install Yiimp. $COL_RESET" echo -e "$CYAN |$YELLOW It will also install a MySQL database and a Web server. $COL_RESET" @@ -131,7 +131,7 @@ function term_yiimpool { figlet -f slant -w 100 "YiimpooL" | lolcat echo -e "$CYAN -----------------|--------------------- $COL_RESET" echo -e "$YELLOW Yiimp Installer Script Fork By Afiniel! $COL_RESET" - echo -e "$YELLOW Version:$COL_RESET $GREEN v0.6.6 $COL_RESET" + echo -e "$YELLOW Version:$COL_RESET $GREEN v0.6.7 $COL_RESET" echo -e "$CYAN -----------------|--------------------- $COL_RESET" echo @@ -183,14 +183,14 @@ function hide_output { function last_words { echo "<-------------------------------------|---------------------------------------->" echo - echo -e "$YELLOW Thank you for using the Yiimpool Installer $GREEN v0.6.6 $COL_RESET" + echo -e "$YELLOW Thank you for using the Yiimpool Installer $GREEN v0.6.7 $COL_RESET" echo echo -e "$YELLOW To run this installer anytime simply type: $GREEN yiimpool $COL_RESET" echo -e "$YELLOW Donations for continued support of this script are welcomed at: $COL_RESET" echo "<-------------------------------------|--------------------------------------->" echo -e "$YELLOW Donate Wallets: $COL_RESET" echo "<-------------------------------------|--------------------------------------->" - echo -e "$YELLOW Thank you for using Yiimp Install Script v0.6.6 fork by Afiniel! $COL_RESET" + echo -e "$YELLOW Thank you for using Yiimp Install Script v0.6.7 fork by Afiniel! $COL_RESET" echo echo -e "$YELLOW => To run this installer anytime simply type:$GREEN yiimpool $COL_RESET" echo -e "$YELLOW => Do you want to support me? Feel free to use wallets below: $COL_RESET" diff --git a/install/menu.sh b/install/menu.sh index 2e796c29..8174265d 100644 --- a/install/menu.sh +++ b/install/menu.sh @@ -7,7 +7,7 @@ source /etc/functions.sh -RESULT=$(dialog --stdout --nocancel --default-item 1 --title "Yiimpool Menu v0.6.6" --menu "Choose one" -1 60 16 \ +RESULT=$(dialog --stdout --nocancel --default-item 1 --title "Yiimpool Menu v0.6.7" --menu "Choose one" -1 60 16 \ ' ' "- Install Yiimp -" \ 1 "YiiMP Single Server" \ ' ' "- Daemon Wallet Builder -" \ @@ -15,6 +15,11 @@ RESULT=$(dialog --stdout --nocancel --default-item 1 --title "Yiimpool Menu v0.6 ' ' "- Upgrade stratum server -" \ 3 "Yiimp stratum update NOT completed" \ 4 Exit) +if [ $RESULT = ] +then +bash $(basename $0) && exit; +fi + if [ $RESULT = 1 ] then clear; @@ -32,10 +37,9 @@ fi if [ $RESULT = 3 ] then clear; -echo The Yiimp upgrader is not completed yet.; +echo The Yiimp upgrader is not completed yet. exit; -# cd $HOME/yiimp_install_script/yiimp_upgrade -# source start.sh +fi if [ $RESULT = 4 ] then diff --git a/install/start.sh b/install/start.sh index 538e25e9..cf1a947b 100644 --- a/install/start.sh +++ b/install/start.sh @@ -52,7 +52,7 @@ if [[ ("$FIRST_TIME_SETUP" == "1") ]]; then export NCURSES_NO_UTF8_ACS=1 #check for user - echo -e "$YELLOW => Installing needed packages for setup to continue <= $COL_RESET" + echo -e "$YELLOW => Installing needed packages for setup to$GREEN continue$YELLOW <= $COL_RESET" hide_output sudo apt-get -q -q update hide_output sudo apt-get install -y figlet hide_output sudo apt-get install -y lolcat @@ -64,7 +64,7 @@ if [[ ("$FIRST_TIME_SETUP" == "1") ]]; then message_box "Yiimpool Installer" \ "Hello and thanks for using the Yiimpool Installer! \n\nInstallation for the most part is fully automated. In most cases any user responses that are needed are asked prior to the installation. - \n\nNOTE: You should only install this on a brand new Ubuntu 16.04 or Ubuntu 18.04 installation." + \n\nNOTE: You should only install this on a brand new Ubuntu 18.04 or Ubuntu 16.04 installation." source existing_user.sh exit else diff --git a/old_installer_files/conf/create_user.sh b/old_installer_files/conf/create_user.sh index f3421850..51fb0b3e 100644 --- a/old_installer_files/conf/create_user.sh +++ b/old_installer_files/conf/create_user.sh @@ -13,12 +13,12 @@ echo 'YIIMPOOL_VERSION="v0.4.2"' | sudo -E tee /etc/yiimpoolversion.conf >/dev/n source /etc/yiimpoolversion.conf # Welcome -message_box "Yiimp Installer v0.6.6" \ +message_box "Yiimp Installer v0.6.7" \ "Hello and thanks for using the Yiimpool Installer! \n\nInstallation for the most part is fully automated. In most cases any user responses that are needed are asked prior to the installation. \n\nNOTE: You should only install this on a brand new Ubuntu 16.04 or Ubuntu 18.04 installation." # Root warning message box -message_box "Yiimp Installer v0.6.6" \ +message_box "Yiimp Installer v0.6.7" \ "WARNING: You are trying to install as the root user! \n\nRunning any program as root is not recommended and can pose serious security risks that you want to avoid. \n\nThe next step you will be asked to create a new user account, you can name it whatever you want." diff --git a/old_installer_files/conf/functions.sh b/old_installer_files/conf/functions.sh index ee0a9991..67770a36 100644 --- a/old_installer_files/conf/functions.sh +++ b/old_installer_files/conf/functions.sh @@ -80,7 +80,7 @@ function install_end_message { figlet -f slant -w 100 "Complete!" echo -e "$CYAN --------------------------------------------------------------------------- $COL_RESET" - echo -e "$YELLOW | Version:$GREEN v0.6.6 | $COL_RESET" + echo -e "$YELLOW | Version:$GREEN v0.6.7 | $COL_RESET" echo -e "$YELLOW Yiimp Installer Script Fork By Afiniel https://github.com/afiniel/yiimp_install_script $COL_RESET" echo -e "$CYAN --------------------------------------------------------------------------- $COL_RESET" echo -e "$YELLOW Your mysql information (login/Password) is saved in:$RED ~/.my.cnf $COL_RESET" @@ -115,7 +115,7 @@ function term_art { echo " ╚═╝ ╚═╝╚═╝╚═╝ ╚═╝╚═╝ ╚═════╝ ╚═════╝ ╚══════╝ " echo -e "$CYAN ---------------|----------------------- $COL_RESET" echo -e "$YELLOW Yiimp Installer Script Fork By Afiniel! $COL_RESET" - echo -e "$YELLOW Version:$COL_RESET $GREEN v0.6.6 $COL_RESET" + echo -e "$YELLOW Version:$COL_RESET $GREEN v0.6.7 $COL_RESET" echo -e "$CYAN -----------------|---------------------------------------------------- $COL_RESET" echo -e "$YELLOW This script will install all the dependencies and will install Yiimp. $COL_RESET" echo -e "$YELLOW It will also install a MySQL database and a Web server. $COL_RESET" @@ -138,7 +138,7 @@ function term_yiimpool { echo " ╚═╝ ╚═╝╚═╝╚═╝ ╚═╝╚═╝ ╚═════╝ ╚═════╝ ╚══════╝ " echo -e "$CYAN -----------------|--------------------- $COL_RESET" echo -e "$YELLOW Yiimp Installer Script Fork By Afiniel! $COL_RESET" - echo -e "$YELLOW Version:$COL_RESET $GREEN v0.6.6 $COL_RESET" + echo -e "$YELLOW Version:$COL_RESET $GREEN v0.6.7 $COL_RESET" echo -e "$CYAN -----------------|--------------------- $COL_RESET" echo @@ -190,14 +190,14 @@ function hide_output { function last_words { echo "<-------------------------------------|---------------------------------------->" echo - echo -e "$YELLOW Thank you for using the Yiimpool Installer $GREEN v0.6.6! $COL_RESET" + echo -e "$YELLOW Thank you for using the Yiimpool Installer $GREEN v0.6.7! $COL_RESET" echo echo -e "$YELLOW To run this installer anytime simply type: $GREEN yiimpool $COL_RESET" echo -e "$YELLOW Donations for continued support of this script are welcomed at: $COL_RESET" echo "<-------------------------------------|--------------------------------------->" echo -e "$YELLOW Donate Wallets: $COL_RESET" echo "<-------------------------------------|--------------------------------------->" - echo -e "$YELLOW Thank you for using Yiimp Install Script v0.6.6 fork by Afiniel! $COL_RESET" + echo -e "$YELLOW Thank you for using Yiimp Install Script v0.6.7 fork by Afiniel! $COL_RESET" echo echo -e "$YELLOW => To run this installer anytime simply type:$GREEN yiimpool $COL_RESET" echo -e "$YELLOW => Do you want to support me? Feel free to use wallets below: $COL_RESET" diff --git a/old_installer_files/conf/menu.sh b/old_installer_files/conf/menu.sh index 3bc5ede8..27e7f283 100644 --- a/old_installer_files/conf/menu.sh +++ b/old_installer_files/conf/menu.sh @@ -6,7 +6,7 @@ source /etc/functions.sh source /etc/yiimpoolversion.conf -RESULT=$(dialog --stdout --nocancel --default-item 1 --title "Yiimpool Installer v0.6.6" --menu "Choose one" -1 60 16 \ +RESULT=$(dialog --stdout --nocancel --default-item 1 --title "Yiimpool Installer v0.6.7" --menu "Choose one" -1 60 16 \ ' ' "- Yiimp -" \ 1 "Start Yiimp Install" \ ' ' "- Daemon Wallet Builder -" \ diff --git a/old_installer_files/conf/start.sh b/old_installer_files/conf/start.sh index ba463a17..51885e5e 100644 --- a/old_installer_files/conf/start.sh +++ b/old_installer_files/conf/start.sh @@ -75,7 +75,7 @@ if [[ ("$FIRST_TIME_SETUP" == "1") ]]; then # Are we running as root? if [[ $EUID -ne 0 ]]; then # Welcome - message_box "Yiimp Installer v0.6.6" \ + message_box "Yiimp Installer v0.6.7" \ "Hello and thanks for using the Yiimpool Installer! \n\nInstallation for the most part is fully automated. In most cases any user responses that are needed are asked prior to the installation. \n\nNOTE: You should only install this on a brand new Ubuntu 16.04 or Ubuntu 18.04 VPS." diff --git a/utils/coin.list b/utils/coin.list index fcb8bb25..5f60c8a9 100644 --- a/utils/coin.list +++ b/utils/coin.list @@ -1,125 +1,125 @@ -Supported algorithms: +Supportedalgorithms: -- 0x10 -- a5a -- aergo -- allium -- anime -- argon2 -- argon2d250 -- argon2d500 -- argon2d4096 -- argon2d16000 -- astralhash -- bastion -- bcd -- bitcore -- blake -- blake2s -- blakecoin -- bmw512 -- c11 -- cosa -- cpupower -- curvehash -- decred -- dedal -- deep -- dmd-gr -- fresh -- geek -- gr -- heavyhash -- hive -- hmq1725 -- honeycomb -- hsr -- jeonghash -- jha -- keccak -- keccakc -- lbk3 -- lbry -- luffa -- lyra2 -- lyra2TDC -- lyra2v2 -- lyra2v3 -- lyra2vc0ban -- lyra2z -- lyra2z330 -- m7m -- megabtx -- megamec -- mike -- minotaur -- minotaurx -- myr-gr -- neoscrypt -- nist5 -- pawelhash -- penta -- phi -- phi2 -- phi5 -- pipe -- polytimos -- power2b -- quark -- qubit -- rainforest -- renesis -- scrypt -- scryptn -- sha3d -- sha256 -- sha256t -- sha512256d -- sib -- skein -- skunk -- sonoa -- timetravel -- tribus -- vanilla -- veltor -- velvet -- vitalium -- whirlpool -- x11 -- x11evo -- x11k -- x11kvs -- x12 -- x13 -- x14 -- x15 -- x16r -- x16rt -- x16rv2 -- x16s -- x17 -- x18 -- x20r -- x21s -- x22i -- x25x -- xevan -- yescrypt -- yescryptR8 -- yescryptR16 -- yescryptR32 -- yespower -- yespowerARWN -- yespowerIC -- yespowerIOTS -- yespowerLITB -- yespowerLTNCG -- yespowerMGPC -- yespowerR16 -- yespowerSUGAR -- yespowerTIDE -- yespowerURX +0x10 +a5a +aergo +allium +anime +argon2 +argon2d250 +argon2d500 +argon2d4096 +argon2d16000 +astralhash +bastion +bcd +bitcore +blake +blake2s +blakecoin +bmw512 +c11 +cosa +cpupower +curvehash +decred +dedal +deep +dmdgr +fresh +geek +gr +heavyhash +hive +hmq1725 +honeycomb +hsr +jeonghash +jha +keccak +keccakc +lbk3 +lbry +luffa +lyra2 +lyra2TDC +lyra2v2 +lyra2v3 +lyra2vc0ban +lyra2z +lyra2z330 +m7m +megabtx +megamec +mike +minotaur +minotaurx +myrgr +neoscrypt +nist5 +pawelhash +penta +phi +phi2 +phi5 +pipe +polytimos +power2b +quark +qubit +rainforest +renesis +scrypt +scryptn +sha3d +sha256 +sha256t +sha512256d +sib +skein +skunk +sonoa +timetravel +tribus +vanilla +veltor +velvet +vitalium +whirlpool +x11 +x11evo +x11k +x11kvs +x12 +x13 +x14 +x15 +x16r +x16rt +x16rv2 +x16s +x17 +x18 +x20r +x21s +x22i +x25x +xevan +yescrypt +yescryptR8 +yescryptR16 +yescryptR32 +yespower +yespowerARWN +yespowerIC +yespowerIOTS +yespowerLITB +yespowerLTNCG +yespowerMGPC +yespowerR16 +yespowerSUGAR +yespowerTIDE +yespowerURX 007 @@ -238,7 +238,7 @@ FLO RDD NXT BC -MYR-qubit +MYRqubit UTC 888 EFL @@ -724,8 +724,8 @@ NTRN COV SLING MYR -UIS-skein -UIS-qubit +UISskein +UISqubit LUX DRZ 7 @@ -735,7 +735,7 @@ NIRO GRAM SIGU AIB -UNAT-skein +UNATskein QTZ DOX XTP @@ -1074,7 +1074,7 @@ GAME CFC VGC PR -GRE-OLD +GREOLD EUC PAK CAPT diff --git a/yiimp_single/daemon.sh b/yiimp_single/daemon.sh index 1f5f7de2..1885c00c 100644 --- a/yiimp_single/daemon.sh +++ b/yiimp_single/daemon.sh @@ -21,6 +21,7 @@ term_art echo -e "$MAGENTA <----------------------------------------------------->$COL_RESET" echo -e "$YELLOW <-- Installing Berkeley , openssl , bls-signatures -->$COL_RESET" echo -e "$MAGENTA <----------------------------------------------------->$COL_RESET" +echo echo -e "$YELLOW => Installing BitCoin PPA <= $COL_RESET" if [ ! -f /etc/apt/sources.list.d/bitcoin.list ]; then diff --git a/yiimp_single/db.sh b/yiimp_single/db.sh index e60989d0..0728572a 100644 --- a/yiimp_single/db.sh +++ b/yiimp_single/db.sh @@ -118,6 +118,7 @@ sudo mysql -u root -p"${DBRootPassword}" "${YiiMPDBName}" --force < 2022-10-14-s sudo mysql -u root -p"${DBRootPassword}" "${YiiMPDBName}" --force < 2022-10-29-blocks_effort.sql echo -e "$YELLOW <-- Datebase import $GREEN complete -->$COL_RESET" +echo echo -e "$YELLOW => Tweaking MariaDB for better performance <= $COL_RESET" if [[ ("$wireguard" == "false") ]]; then sudo sed -i '/max_connections/c\max_connections = 800' /etc/mysql/my.cnf @@ -136,6 +137,7 @@ else sudo sed -i 's/#bind-address=0.0.0.0/bind-address='${DBInternalIP}'/g' /etc/mysql/my.cnf fi +# Restart MariaDB restart_service mysql set +eu +o pipefail diff --git a/yiimp_single/menu.sh b/yiimp_single/menu.sh index 8702fb8c..42a77a6e 100644 --- a/yiimp_single/menu.sh +++ b/yiimp_single/menu.sh @@ -9,9 +9,13 @@ source /etc/functions.sh RESULT=$(dialog --stdout --default-item 1 --title "Yiimpool Yiimp installer" --menu "Choose one" -1 60 6 \ ' ' "- Do want to install yiimp with wireguard? -" \ -1 "No " \ -2 "Yes " \ +1 "No" \ +2 "Yes" \ 3 Exit) +if [ $RESULT = ] +then +bash $(basename $0) && exit; +fi if [ $RESULT = 1 ] then diff --git a/yiimp_single/server_cleanup.sh b/yiimp_single/server_cleanup.sh index 92bec30b..b43a45da 100644 --- a/yiimp_single/server_cleanup.sh +++ b/yiimp_single/server_cleanup.sh @@ -93,58 +93,126 @@ source $STORAGE_ROOT/yiimp/.yiimp.conf STRATUM_DIR=$STORAGE_ROOT/yiimp/site/stratum LOG_DIR=$STORAGE_ROOT/yiimp/site/log +screen -dmS 0x10 bash $STRATUM_DIR/run.sh 0x10 +screen -dmS a5a bash $STRATUM_DIR/run.sh a5a +screen -dmS aergo bash $STRATUM_DIR/run.sh aergo +screen -dmS allium bash $STRATUM_DIR/run.sh allium +screen -dmS anime bash $STRATUM_DIR/run.sh anime +screen -dmS argon2 bash $STRATUM_DIR/run.sh argon2 +screen -dmS argon2d250 bash $STRATUM_DIR/run.sh argon2d250 +screen -dmS argon2d500 bash $STRATUM_DIR/run.sh argon2d500 +screen -dmS argon2d4096 bash $STRATUM_DIR/run.sh argon2d4096 +screen -dmS argon2d16000 bash $STRATUM_DIR/run.sh argon2d16000 +screen -dmS astralhash bash $STRATUM_DIR/run.sh astralhash +screen -dmS bastion bash $STRATUM_DIR/run.sh bastion +screen -dmS bcd bash $STRATUM_DIR/run.sh bcd +screen -dmS bitcore bash $STRATUM_DIR/run.sh bitcore +screen -dmS blake bash $STRATUM_DIR/run.sh blake +screen -dmS blake2s bash $STRATUM_DIR/run.sh blake2s +screen -dmS blakecoin bash $STRATUM_DIR/run.sh blakecoin +screen -dmS bmw512 bash $STRATUM_DIR/run.sh bmw512 screen -dmS c11 bash $STRATUM_DIR/run.sh c11 +screen -dmS cosa bash $STRATUM_DIR/run.sh cosa +screen -dmS cpupower bash $STRATUM_DIR/run.sh cpupower +screen -dmS curvehash bash $STRATUM_DIR/run.sh curvehash +screen -dmS decred bash $STRATUM_DIR/run.sh decred +screen -dmS dedal bash $STRATUM_DIR/run.sh dedal screen -dmS deep bash $STRATUM_DIR/run.sh deep -screen -dmS x11 bash $STRATUM_DIR/run.sh x11 -screen -dmS 2x11evo bash $STRATUM_DIR/run.sh x11evo -screen -dmS x13 bash $STRATUM_DIR/run.sh x13 -screen -dmS x14 bash bash $STRATUM_DIR/run.sh x14 -screen -dmS x15 bash $STRATUM_DIR/run.sh x15 -screen -dmS x17 bash $STRATUM_DIR/run.sh x17 -screen -dmS xevan bash $STRATUM_DIR/run.sh xevan -screen -dmS timetravel bash $STRATUM_DIR/run.sh timetravel -screen -dmS bitcore bash $STRATUM_DIR/run.sh bitcore +screen -dmS dmdgr bash $STRATUM_DIR/run.sh dmdgr +screen -dmS fresh bash $STRATUM_DIR/run.sh fresh +screen -dmS geek bash $STRATUM_DIR/run.sh geek +screen -dmS gr bash $STRATUM_DIR/run.sh gr +screen -dmS heavyhash bash $STRATUM_DIR/run.sh heavyhash +screen -dmS hive bash $STRATUM_DIR/run.sh hive screen -dmS hmq1725 bash $STRATUM_DIR/run.sh hmq1725 -screen -dmS tribus bash $STRATUM_DIR/run.sh tribus -screen -dmS sha bash $STRATUM_DIR/run.sh sha -screen -dmS 2sha256t bash $STRATUM_DIR/run.sh sha256t -screen -dmS scrypt bash $STRATUM_DIR/run.sh scrypt -screen -dmS 2scryptn bash $STRATUM_DIR/run.sh scryptn +screen -dmS honeycomb bash $STRATUM_DIR/run.sh honeycomb +screen -dmS hsr bash $STRATUM_DIR/run.sh hsr +screen -dmS jeonghash bash $STRATUM_DIR/run.sh jeonghash +screen -dmS jha bash $STRATUM_DIR/run.sh jha +screen -dmS keccak bash $STRATUM_DIR/run.sh keccak +screen -dmS keccakc bash $STRATUM_DIR/run.sh keccakc +screen -dmS lbk3 bash $STRATUM_DIR/run.sh lbk3 +screen -dmS lbry bash $STRATUM_DIR/run.sh lbry screen -dmS luffa bash $STRATUM_DIR/run.sh luffa -screen -dmS neo bash $STRATUM_DIR/run.sh neo +screen -dmS lyra2 bash $STRATUM_DIR/run.sh lyra2 +screen -dmS lyra2TDC bash $STRATUM_DIR/run.sh lyra2TDC +screen -dmS lyra2v2 bash $STRATUM_DIR/run.sh lyra2v2 +screen -dmS lyra2v3 bash $STRATUM_DIR/run.sh lyra2v3 +screen -dmS lyra2vc0ban bash $STRATUM_DIR/run.sh lyra2vc0ban +screen -dmS lyra2z bash $STRATUM_DIR/run.sh lyra2z +screen -dmS lyra2z330 bash $STRATUM_DIR/run.sh lyra2z330 +screen -dmS m7m bash $STRATUM_DIR/run.sh m7m +screen -dmS megabtx bash $STRATUM_DIR/run.sh megabtx +screen -dmS megamec bash $STRATUM_DIR/run.sh megamec +screen -dmS mike bash $STRATUM_DIR/run.sh mike +screen -dmS minotaur bash $STRATUM_DIR/run.sh minotaur +screen -dmS minotaurx bash $STRATUM_DIR/run.sh minotaurx +screen -dmS myrgr bash $STRATUM_DIR/run.sh mygr +screen -dmS neoscrypt bash $STRATUM_DIR/run.sh neoscrypt screen -dmS nist5 bash $STRATUM_DIR/run.sh nist5 +screen -dmS pawelhash bash $STRATUM_DIR/run.sh pawelhash screen -dmS penta bash $STRATUM_DIR/run.sh penta +screen -dmS phi bash $STRATUM_DIR/run.sh phi +screen -dmS phi2 bash $STRATUM_DIR/run.sh phi2 +screen -dmS phi5 bash $STRATUM_DIR/run.sh phi5 +screen -dmS pipe bash $STRATUM_DIR/run.sh pipe +screen -dmS polytimos bash $STRATUM_DIR/run.sh polytimos +screen -dmS power2b bash $STRATUM_DIR/run.sh power2b screen -dmS quark bash $STRATUM_DIR/run.sh quark screen -dmS qubit bash $STRATUM_DIR/run.sh qubit -screen -dmS jha bash $STRATUM_DIR/run.sh jha -screen -dmS dmd-gr bash $STRATUM_DIR/run.sh dmd-gr -screen -dmS myr-gr bash $STRATUM_DIR/run.sh myr-gr -screen -dmS lbry bash $STRATUM_DIR/run.sh lbry -screen -dmS lyra2 bash $STRATUM_DIR/run.sh lyra2 -screen -dmS 2lyra2v2 bash $STRATUM_DIR/run.sh lyra2v2 -screen -dmS zero bash $STRATUM_DIR/run.sh lyra2z -screen -dmS blakecoin bash $STRATUM_DIR/run.sh blakecoin # blake 8 -screen -dmS blake bash $STRATUM_DIR/run.sh blake -screen -dmS 2blake2s bash $STRATUM_DIR/run.sh blake2s -screen -dmS vanilla bash $STRATUM_DIR/run.sh vanilla # blake 8 -screen -dmS decred bash $STRATUM_DIR/run.sh decred # blake 14 -screen -dmS keccak bash $STRATUM_DIR/run.sh keccak -screen -dmS whirlpool bash $STRATUM_DIR/run.sh whirlpool -screen -dmS skein bash $STRATUM_DIR/run.sh skein -screen -dmS 2skein2 bash $STRATUM_DIR/run.sh skein2 -screen -dmS yescrypt bash $STRATUM_DIR/run.sh yescrypt -screen -dmS zr5 bash $STRATUM_DIR/run.sh zr5 +screen -dmS rainforest bash $STRATUM_DIR/run.sh rainforest +screen -dmS renesis bash $STRATUM_DIR/run.sh renesis +screen -dmS scrypt bash $STRATUM_DIR/run.sh scrypt +screen -dmS scryptn bash $STRATUM_DIR/run.sh scryptn +screen -dmS sha3d bash $STRATUM_DIR/run.sh sha3d +screen -dmS sha256 bash $STRATUM_DIR/run.sh sha256 +screen -dmS sha256t bash $STRATUM_DIR/run.sh sha256t +screen -dmS sha512256d bash $STRATUM_DIR/run.sh sha512256d screen -dmS sib bash $STRATUM_DIR/run.sh sib -screen -dmS m7m sudo bash $STRATUM_DIR/run.sh m7m +screen -dmS skein bash $STRATUM_DIR/run.sh skein +screen -dmS skunk bash $STRATUM_DIR/run.sh skunk +screen -dmS sonoa bash $STRATUM_DIR/run.sh sonoa +screen -dmS timetravel bash $STRATUM_DIR/run.sh timetravel +screen -dmS tribus bash $STRATUM_DIR/run.sh tribus +screen -dmS vanilla bash $STRATUM_DIR/run.sh vanilla screen -dmS veltor bash $STRATUM_DIR/run.sh veltor screen -dmS velvet bash $STRATUM_DIR/run.sh velvet -screen -dmS argon2 bash $STRATUM_DIR/run.sh argon2 -screen -dmS groestl bash $STRATUM_DIR/run.sh groestl -screen -dmS skunk bash $STRATUM_DIR/run.sh skunk -screen -dmS phi1612 bash $STRATUM_DIR/run.sh phi1612 -screen -dmS hsr bash $STRATUM_DIR/run.sh hsr -screen -dmS yescryptr16 bash $STRATUM_DIR/run.sh yescryptR16 +screen -dmS vitalium bash $STRATUM_DIR/run.sh vitalium +screen -dmS whirlpool bash $STRATUM_DIR/run.sh whirlpool +screen -dmS x11 bash $STRATUM_DIR/run.sh x11 +screen -dmS x11evo bash $STRATUM_DIR/run.sh x11evo +screen -dmS x11k bash $STRATUM_DIR/run.sh x11k +screen -dmS x11kvs bash $STRATUM_DIR/run.sh x11kvs +screen -dmS x12 bash $STRATUM_DIR/run.sh x12 +screen -dmS x13 bash $STRATUM_DIR/run.sh x13 +screen -dmS x14 bash $STRATUM_DIR/run.sh x14 +screen -dmS x15 bash $STRATUM_DIR/run.sh x15 screen -dmS x16r bash $STRATUM_DIR/run.sh x16r +screen -dmS x16rt bash $STRATUM_DIR/run.sh x16rt +screen -dmS x16rv2 bash $STRATUM_DIR/run.sh x16rv2 +screen -dmS x16s bash $STRATUM_DIR/run.sh x16s +screen -dmS x17 bash $STRATUM_DIR/run.sh x17 +screen -dmS x18 bash $STRATUM_DIR/run.sh x18 +screen -dmS x20r bash $STRATUM_DIR/run.sh x20r +screen -dmS x21s bash $STRATUM_DIR/run.sh x21s +screen -dmS x22i bash $STRATUM_DIR/run.sh x22i +screen -dmS x25x bash $STRATUM_DIR/run.sh x25x +screen -dmS xevan bash $STRATUM_DIR/run.sh xevan +screen -dmS yescrypt bash $STRATUM_DIR/run.sh yescrypt +screen -dmS yescryptR8 bash $STRATUM_DIR/run.sh yescryptR8 +screen -dmS yescryptR16 bash $STRATUM_DIR/run.sh yescryptR16 +screen -dmS yescryptR32 bash $STRATUM_DIR/run.sh yescryptR32 +screen -dmS yespower bash $STRATUM_DIR/run.sh yespower +screen -dmS yespowerARWN bash $STRATUM_DIR/run.sh yespowerARWN +screen -dmS yespowerIC bash $STRATUM_DIR/run.sh yespowerIC +screen -dmS yespowerIOTS bash $STRATUM_DIR/run.sh yespowerIOTS +screen -dmS yespowerLITB bash $STRATUM_DIR/run.sh yespowerLITB +screen -dmS yespowerLTNCG bash $STRATUM_DIR/run.sh yespowerLTNCG +screen -dmS yespowerMGPC bash $STRATUM_DIR/run.sh yespowerMGPC +screen -dmS yespowerR16 bash $STRATUM_DIR/run.sh yespowerR16 +screen -dmS yespowerSUGAR bash $STRATUM_DIR/run.sh yespowerSUGAR +screen -dmS yespowerTIDE bash $STRATUM_DIR/run.sh yespowerURX +screen -dmS yespowerURX bash $STRATUM_DIR/run.sh yespowerURX ' | sudo -E tee $STORAGE_ROOT/yiimp/starts/stratum.start.sh >/dev/null 2>&1 sudo chmod +x $STORAGE_ROOT/yiimp/starts/stratum.start.sh diff --git a/yiimp_single/start.sh b/yiimp_single/start.sh index 46119cfa..1fabd6d9 100644 --- a/yiimp_single/start.sh +++ b/yiimp_single/start.sh @@ -28,7 +28,6 @@ export LC_TYPE=en_US.UTF-8 export NCURSES_NO_UTF8_ACS=1 # Create the temporary installation directory if it doesn't already exist. -echo -e "$CYAN => Creating the YiiMP folder structure... <= $COL_RESET" if [ ! -d $STORAGE_ROOT/yiimp/yiimp_setup ]; then sudo mkdir -p $STORAGE_ROOT/{wallets,yiimp/{yiimp_setup/log,site/{web,stratum,configuration,crons,log},starts}} sudo touch $STORAGE_ROOT/yiimp/yiimp_setup/log/installer.log @@ -69,7 +68,7 @@ if [[ ("$UsingDomain" == "yes") ]]; then source /etc/functions.sh term_yiimpool echo -e "$CYAN<-----------------------------------------------------------------------------> $COL_RESET" - echo -e "$YELLOW Thank you for using Yiimp Install Script$GREEN v0.6.6 $YELLOW fork by Afiniel! $COL_RESET" + echo -e "$YELLOW Thank you for using Yiimp Install Script$GREEN v0.6.7 $YELLOW fork by Afiniel! $COL_RESET" echo echo -e "$YELLOW => To run this installer anytime simply type:$GREEN yiimpool $COL_RESET" echo -e "$CYAN<-----------------------------------------------------------------------------> $COL_RESET" @@ -102,7 +101,7 @@ else source /etc/functions.sh term_yiimpool echo -e "$CYAN<-----------------------------------------------------------------------------> $COL_RESET" - echo -e "$YELLOW Thank you for using Yiimp Install Script$GREEN v0.6.6 $YELLOW fork by Afiniel! $COL_RESET" + echo -e "$YELLOW Thank you for using Yiimp Install Script$GREEN v0.6.7 $YELLOW fork by Afiniel! $COL_RESET" echo echo -e "$YELLOW => To run this installer anytime simply type:$GREEN yiimpool $COL_RESET" echo -e "$CYAN<-----------------------------------------------------------------------------> $COL_RESET" diff --git a/yiimp_single/stratum.sh b/yiimp_single/stratum.sh index 5e28fea8..f1f294e3 100644 --- a/yiimp_single/stratum.sh +++ b/yiimp_single/stratum.sh @@ -9,7 +9,6 @@ source /etc/yiimpool.conf source /home/crypto-data/yiimp/.yiimp.conf source $HOME/yiimp_install_script/yiimp_single/.wireguard.install.cnf -term_art term_art echo -e "$MAGENTA <--------------------->$COL_RESET" echo -e "$YELLOW <-- Compile Stratum -->$COL_RESET" diff --git a/yiimp_single/system.sh b/yiimp_single/system.sh index ed21cb22..a36aeea6 100644 --- a/yiimp_single/system.sh +++ b/yiimp_single/system.sh @@ -40,7 +40,7 @@ echo echo -e "$MAGENTA => Adding the required repsoitories <= $COL_RESET" if [ ! -f /usr/bin/add-apt-repository ]; then echo - echo -e "$MAGENTA => Installing add-apt-repository... <= $COL_RESET" + echo -e "$YELLOW => Installing add-apt-repository <= $COL_RESET" hide_output sudo apt-get update hide_output sudo apt-get -y install software-properties-common fi @@ -115,19 +115,19 @@ if [ -z "${DISABLE_FIREWALL:-}" ]; then echo echo -e "$YELLOW => Allow incoming connections to SSH <= $COL_RESET" echo - echo -e "$YELLOW ssh port$GREEN OPEN $COL_RESET" + echo -e "$YELLOW ssh port$GREEN OPEN: $COL_RESET" echo ufw_allow ssh sleep 0.5 - echo -e "$YELLOW http port$GREEN OPEN $COL_RESET" + echo -e "$YELLOW http port:$GREEN OPEN $COL_RESET" echo sleep 0.5 ufw_allow http + echo -e "$YELLOW http port:$GREEN OPEN: $COL_RESET" echo sleep 0.5 - echo ufw_allow https - echo -e "$YELLOW https port$GREEN OPEN $COL_RESET" + echo -e "$YELLOW https port:$GREEN OPEN: $COL_RESET" # ssh might be running on an alternate port. Use sshd -T to dump sshd's #NODOC # settings, find the port it is supposedly running on, and open that port #NODOC # too. #NODOC @@ -142,11 +142,11 @@ if [ -z "${DISABLE_FIREWALL:-}" ]; then ufw_allow $SSH_PORT sleep 0.5 echo - echo -e "$YELLOW http port$GREEN open $COL_RESET" + echo -e "$YELLOW http port:$GREEN OPEN $COL_RESET" ufw_allow http sleep 0.5 echo - echo -e "$YELLOW https port$GREEN OPEN $COL_RESET" + echo -e "$YELLOW https port:$GREEN OPEN $COL_RESET" ufw_allow https sleep 0.5 echo diff --git a/yiimp_single/ubuntu/addport b/yiimp_single/ubuntu/addport index 55ef9641..fb4db3e1 100644 --- a/yiimp_single/ubuntu/addport +++ b/yiimp_single/ubuntu/addport @@ -178,7 +178,7 @@ echo -e "$YELLOW To use your new stratum type,$BLUE stratum.${coinsymbollower} s echo echo -e "$YELLOW To see the stratum screen type,$MAGENTA screen -r ${coinsymbollower} $COL_RESET" echo -echo -e "$YELLOW The assigned dedicated port for this coins stratum is :$YELLOW $coinport $COL_RESET" +echo -e "$YELLOW The assigned dedicated port for this coins stratum is :$GREEN $coinport $COL_RESET" echo echo -e "$YELLOW Make sure to add this to the Dedicated Port section in your YiiMP admin panel! $COL_RESET" diff --git a/yiimp_single/ubuntu/etc/update-motd.d/00-header b/yiimp_single/ubuntu/etc/update-motd.d/00-header index 55d3839b..0e9e14f0 100644 --- a/yiimp_single/ubuntu/etc/update-motd.d/00-header +++ b/yiimp_single/ubuntu/etc/update-motd.d/00-header @@ -36,5 +36,5 @@ fi figlet -f slant -w 100 "YiimpooL" | lolcat -f printf "\n" -printf "Welcome to %s (%s).\n" "$DISTRIB_DESCRIPTION" "YiimPool Version v0.6.6" +printf "Welcome to %s (%s).\n" "$DISTRIB_DESCRIPTION" "YiimPool Version v0.6.7" printf "\n" diff --git a/yiimp_single/yiimp_confs/blocks.sh b/yiimp_single/yiimp_confs/blocks.sh index 2fd1f159..ca763030 100644 --- a/yiimp_single/yiimp_confs/blocks.sh +++ b/yiimp_single/yiimp_confs/blocks.sh @@ -1,8 +1,8 @@ #!/usr/bin/env bash -##################################################### -# Created by Afiniel for Yiimpool use... -##################################################### +######################################### +# Created by Afiniel for Yiimpool use...# +######################################### source /etc/functions.sh source /etc/yiimpool.conf diff --git a/yiimp_single/yiimp_confs/loop2.sh b/yiimp_single/yiimp_confs/loop2.sh index a1dc5719..233bce6f 100644 --- a/yiimp_single/yiimp_confs/loop2.sh +++ b/yiimp_single/yiimp_confs/loop2.sh @@ -1,8 +1,8 @@ #!/usr/bin/env bash -##################################################### -# Created by Afiniel for Yiimpool use... -##################################################### +######################################### +# Created by Afiniel for Yiimpool use...# +######################################### source /etc/functions.sh source /etc/yiimpool.conf diff --git a/yiimp_single/yiimp_confs/main.sh b/yiimp_single/yiimp_confs/main.sh index 5661af45..50ecf611 100644 --- a/yiimp_single/yiimp_confs/main.sh +++ b/yiimp_single/yiimp_confs/main.sh @@ -1,8 +1,8 @@ #!/usr/bin/env bash -##################################################### -# Created by Afiniel for Yiimpool use... -##################################################### +######################################### +# Created by Afiniel for Yiimpool use...# +######################################### source /etc/functions.sh source /etc/yiimpool.conf diff --git a/yiimp_single/yiimp_confs/yiimpserverconfig.sh b/yiimp_single/yiimp_confs/yiimpserverconfig.sh index f44b336a..09677758 100644 --- a/yiimp_single/yiimp_confs/yiimpserverconfig.sh +++ b/yiimp_single/yiimp_confs/yiimpserverconfig.sh @@ -21,24 +21,24 @@ define('"'"'YAAMP_DBNAME'"'"', '"'"''"${YiiMPDBName}"''"'"'); define('"'"'YAAMP_DBUSER'"'"', '"'"''"${YiiMPPanelName}"''"'"'); define('"'"'YAAMP_DBPASSWORD'"'"', '"'"''"${PanelUserDBPassword}"''"'"'); define('"'"'YAAMP_PRODUCTION'"'"', true); -define('"'"'YAAMP_RENTAL'"'"', false); +define('"'"'YAAMP_RENTAL'"'"', false); // set to true to enable rental system define('"'"'YAAMP_LIMIT_ESTIMATE'"'"', false); -define('"'"'YAAMP_FEES_SOLO'"'"', 0.5); // Set Pool Fee (non solo) -define('"'"'YAAMP_FEES_MINING'"'"', 0.5); -define('"'"'YAAMP_FEES_EXCHANGE'"'"', 2); -define('"'"'YAAMP_FEES_RENTING'"'"', 2); +define('"'"'YAAMP_FEES_SOLO'"'"', 0.5); // Set Pool Fee (solo) +define('"'"'YAAMP_FEES_MINING'"'"', 0.5); // Set Pool Fee (non solo) +define('"'"'YAAMP_FEES_EXCHANGE'"'"', 2); // Set Exchange Fee +define('"'"'YAAMP_FEES_RENTING'"'"', 2); // Set Renting Fee define('"'"'YAAMP_TXFEE_RENTING_WD'"'"', 0.002); -define('"'"'YAAMP_PAYMENTS_FREQ'"'"', 3*60*60); -define('"'"'YAAMP_PAYMENTS_MINI'"'"', 0.001); -define('"'"'YAAMP_ALLOW_EXCHANGE'"'"', false); -define('"'"'YIIMP_PUBLIC_EXPLORER'"'"', false); -define('"'"'YIIMP_PUBLIC_BENCHMARK'"'"', false); +define('"'"'YAAMP_PAYMENTS_FREQ'"'"', 1*60*60); // set how often the pool will pay miners +define('"'"'YAAMP_PAYMENTS_MINI'"'"', 0.001); // set minimum payment for miners +define('"'"'YAAMP_ALLOW_EXCHANGE'"'"', false); // allow to exchange coins directly from site wallet +define('"'"'YIIMP_PUBLIC_EXPLORER'"'"', false); // allow public view of site block explorer +define('"'"'YIIMP_PUBLIC_BENCHMARK'"'"', false); // allow public view of site benchmark page define('"'"'YIIMP_FIAT_ALTERNATIVE'"'"', '"'"'USD'"'"'); // USD is main define('"'"'YAAMP_USE_NICEHASH_API'"'"', false); define('"'"'YAAMP_BTCADDRESS'"'"', '"'"'bc1qpnxtg3dvtglrvfllfk3gslt6h5zffkf069nh8r'"'"'); define('"'"'YAAMP_SITE_URL'"'"', '"'"''"${DomainName}"''"'"'); define('"'"'YAAMP_STRATUM_URL'"'"', '"'"''"${StratumURL}"''"'"'); // change if your stratum server is on a different host -define('"'"'YAAMP_SITE_NAME'"'"', '"'"'YiimPool'"'"'); // Change to your website name. +define('"'"'YAAMP_SITE_NAME'"'"', '"'"''"${DomainName}"''"'"'); // Change to your website name. define('"'"'YAAMP_ADMIN_EMAIL'"'"', '"'"''"${SupportEmail}"''"'"'); define('"'"'YAAMP_ADMIN_IP'"'"', '"'"''"${PublicIP}"''"'"'); // samples: "80.236.118.26,90.234.221.11" or "10.0.0.1/8" define('"'"'YAAMP_ADMIN_WEBCONSOLE'"'"', true); @@ -97,22 +97,22 @@ define('"'"'YAAMP_DBPASSWORD'"'"', '"'"''"${PanelUserDBPassword}"''"'"'); define('"'"'YAAMP_PRODUCTION'"'"', true); define('"'"'YAAMP_RENTAL'"'"', false); // For rental services define('"'"'YAAMP_LIMIT_ESTIMATE'"'"', false); -define('"'"'MINING_FEES_SOLO'"'"', 1.5); // Set Pool Solo Fee +define('"'"'MINING_FEES_SOLO'"'"', 1.5); // Set Pool Fee (solo) define('"'"'YAAMP_FEES_MINING'"'"', 0.5); // Set Pool Fee (non solo) -define('"'"'YAAMP_FEES_EXCHANGE'"'"', 2); // Set Exchange fee here -define('"'"'YAAMP_FEES_RENTING'"'"', 2); // If rental is enable set rental fee here +define('"'"'YAAMP_FEES_EXCHANGE'"'"', 2); // Set Exchange fee +define('"'"'YAAMP_FEES_RENTING'"'"', 2); // Set Renting fee (If renting is enabled) define('"'"'YAAMP_TXFEE_RENTING_WD'"'"', 0.002); -define('"'"'YAAMP_PAYMENTS_FREQ'"'"', 3*60*60); // Set how often the pool will do payouts here -define('"'"'YAAMP_PAYMENTS_MINI'"'"', 0.001); // Set minimum payout amount here. -define('"'"'YAAMP_ALLOW_EXCHANGE'"'"', false); -define('"'"'YIIMP_PUBLIC_EXPLORER'"'"', false); -define('"'"'YIIMP_PUBLIC_BENCHMARK'"'"', false); +define('"'"'YAAMP_PAYMENTS_FREQ'"'"', 1*60*60); // Set how often the pool will do payouts +define('"'"'YAAMP_PAYMENTS_MINI'"'"', 0.001); // Set minimum payout amount +define('"'"'YAAMP_ALLOW_EXCHANGE'"'"', false); // Allow users to exchange coins +define('"'"'YIIMP_PUBLIC_EXPLORER'"'"', false); // Allow users to see the block explorer +define('"'"'YIIMP_PUBLIC_BENCHMARK'"'"', false); // Allow users to see the benchmark page define('"'"'YIIMP_FIAT_ALTERNATIVE'"'"', '"'"'USD'"'"'); // USD is main define('"'"'YAAMP_USE_NICEHASH_API'"'"', false); define('"'"'YAAMP_BTCADDRESS'"'"', '"'"'bc1qpnxtg3dvtglrvfllfk3gslt6h5zffkf069nh8r'"'"'); define('"'"'YAAMP_SITE_URL'"'"', '"'"''"${DomainName}"''"'"'); define('"'"'YAAMP_STRATUM_URL'"'"', '"'"''"${StratumURL}"''"'"'); // change if your stratum server is on a different host -define('"'"'YAAMP_SITE_NAME'"'"', '"'"'yiimpool'"'"'); +define('"'"'YAAMP_SITE_NAME'"'"', '"'"''"${DomainName}"''"'"'); define('"'"'YAAMP_ADMIN_EMAIL'"'"', '"'"''"${SupportEmail}"''"'"'); define('"'"'YAAMP_ADMIN_IP'"'"', '"'"''"${PublicIP}"''"'"'); // samples: "80.236.118.26,90.234.221.11" or "10.0.0.1/8" define('"'"'YAAMP_ADMIN_WEBCONSOLE'"'"', true); diff --git a/yiimp_upgrade/menu.sh b/yiimp_upgrade/menu.sh index 3330ea37..6196fb89 100644 --- a/yiimp_upgrade/menu.sh +++ b/yiimp_upgrade/menu.sh @@ -11,6 +11,10 @@ RESULT=$(dialog --stdout --nocancel --default-item 1 --title "Yiimpool YiiMP Upd 1 "Start YiiMP Updater Installation" \ ' ' "- Exit -" \ 2 Exit) +if [ $RESULT = ] +then +bash $(basename $0) && exit; +fi if [ $RESULT = 1 ] then