Skip to content

Commit

Permalink
fixed lower installing mail
Browse files Browse the repository at this point in the history
fixed lower installing mail
  • Loading branch information
cryptopool-builders committed Mar 8, 2020
1 parent 88cb48c commit 36b26bb
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
2 changes: 1 addition & 1 deletion menu.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

source /etc/functions.sh

RESULT=$(dialog --stdout --default-item 1 --title "Ultimate Crypto-Server Setup Installer v1.83" --menu "Choose one" -1 60 6 \
RESULT=$(dialog --stdout --default-item 1 --title "Ultimate Crypto-Server Setup Installer v1.84" --menu "Choose one" -1 60 6 \
' ' "- For small private pools -" \
1 "YiiMP - Single Server" \
' ' "- If you plan on adding more servers later -" \
Expand Down
4 changes: 2 additions & 2 deletions start.sh
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ source nginx_upgrade.sh
source web.sh
source stratum.sh
source daemon.sh
if [[ ("$UsingDomain" == "Yes") ]]; then
if [[ ("$UsingDomain" == "yes") ]]; then
source send_mail.sh
fi
source server_cleanup.sh
Expand All @@ -59,7 +59,7 @@ source $STORAGE_ROOT/yiimp/.yiimp.conf

clear

if [[ ("$UsingDomain" == "Yes") ]]; then
if [[ ("$UsingDomain" == "yes") ]]; then
echo -e "Installation of your YiiMP single server is now completed."
echo -e "You $RED*MUST REBOOT*$COL_RESET the machine to finalize the machine updates and folder permissions! $MAGENTA YiiMP will not function until a reboot is performed!$COL_RESET"
echo
Expand Down
4 changes: 4 additions & 0 deletions ubuntu/addport
Original file line number Diff line number Diff line change
Expand Up @@ -77,13 +77,17 @@ if [ -f $STORAGE_ROOT/yiimp/site/stratum/config/$coinsymbollower.$coinalgo.conf
fi
else
# Since this is a new symbol we are going to add it to the other conf files first.
# First we need to check if this is the first time addport has been ran
files=(*.$coinalgo.conf)
if [ -e "${files[0]}" ]; then
for r in *.$coinalgo.conf; do
if ! grep -Fxq "exclude = ${coinsymbol}" "$r"; then
sed -i -e '$a\
[WALLETS]\
exclude = '${coinsymbol}'' "$r"
fi
done
fi
# Copy the default algo.conf to the new symbol.algo.conf
cp -r $coinalgo.conf $coinsymbollower.$coinalgo.conf
# Insert the port in to the new symbol.algo.conf
Expand Down

0 comments on commit 36b26bb

Please sign in to comment.