Skip to content

Commit

Permalink
sed: no input files Line 40
Browse files Browse the repository at this point in the history
Broken mail system
  • Loading branch information
afiniel committed Oct 31, 2022
1 parent e13ee95 commit 51b4a2f
Show file tree
Hide file tree
Showing 8 changed files with 33 additions and 33 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
<h1 align="center"> Yiimpool Yiimp Install Scrypt v0.4.5 With DaemonBuilder and addport (update 2022-10-27) </h1>
<h1 align="center"> Yiimpool Yiimp Install Scrypt v0.4.6 With DaemonBuilder and addport (update 2022-10-27) </h1>

<a href="https://discord.gg/TTprjGD2tw"><img src="https://img.shields.io/discord/904564600354254898.svg?style=flat&label=Discord %3C3%20&color=7289DA%22" alt="Join Community Badge"/></a>
</p>
The Development is still in progress. Please report any issues you find.

<h2 align="center"> Description </h2>
This is the main page for Yiimpool Yiimp Install script. Here you find information all documentation about <b> Yiimpool Yiimp Installer v0.4.5</b><p>The installer automatically install all requirements to get Yiimp installed correctly.</p><p><b> Yiimpool Yiimp Install Scrypt</b> is a Script that will install <b> Yiimp</b> Mining Pool on a clean<b>Ubuntu 18.04 VPS.</p>
This is the main page for Yiimpool Yiimp Install script. Here you find information all documentation about <b> Yiimpool Yiimp Installer v0.4.6</b><p>The installer automatically install all requirements to get Yiimp installed correctly.</p><p><b> Yiimpool Yiimp Install Scrypt</b> is a Script that will install <b> Yiimp</b> Mining Pool on a clean<b>Ubuntu 18.04 VPS.</p>

More information will be added soon.
<p align="center">
Expand Down
2 changes: 1 addition & 1 deletion install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
#
#########################################################
if [ -z "${TAG}" ]; then
TAG=v0.4.5
TAG=v0.4.6
fi


Expand Down
42 changes: 21 additions & 21 deletions install/functions.sh
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ function install_end_message {
figlet -f slant -w 100 "Complete!"

echo -e "$CYAN --------------------------------------------------------------------------- $COL_RESET"
echo -e "$YELLOW | Version:$GREEN v0.4.5 | $COL_RESET"
echo -e "$YELLOW | Version:$GREEN v0.4.6 | $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"
Expand Down Expand Up @@ -111,15 +111,15 @@ function term_art {
echo " ╚██╔╝ ██║██║██║╚██╔╝██║██╔═══╝ ██║ ██║██║ ██║██║ "
echo " ██║ ██║██║██║ ╚═╝ ██║██║ ╚██████╔╝╚██████╔╝███████╗ "
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.4.5 $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"
echo -e "$YELLOW MariaDB is used for the database. $COL_RESET"
echo -e "$YELLOW Nginx is used for the Web server, PHP 7.3 is also installed. $COL_RESET"
echo -e "$CYAN -----------------|---------------------------------------------------- $COL_RESET"
echo -e "$CYAN --------------------------------------- $COL_RESET"
echo -e "$YELLOW |Yiimp Installer Script Fork By Afiniel! $COL_RESET"
echo -e "$YELLOW |Version:$COL_RESET $GREEN v0.4.6 $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"
echo -e "$YELLOW |MariaDB is used for the database. $COL_RESET"
echo -e "$YELLOW |Nginx is used for the Web server, PHP 7.3 is also installed. $COL_RESET"
echo -e "$CYAN ---------------------------------------------------------------------- $COL_RESET"
echo

}
Expand Down Expand Up @@ -169,14 +169,14 @@ function hide_output {
function last_words {
echo "<-------------------------------------|---------------------------------------->"
echo
echo -e "$YELLOW Thank you for using the Yiimpool Installer $GREEN v0.4.5! $COL_RESET"
echo -e "$YELLOW Thank you for using the Yiimpool Installer $GREEN v0.4.6! $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.4.5 fork by Afiniel! $COL_RESET"
echo -e "$YELLOW Thank you for using Yiimp Install Script v0.4.6 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"
Expand All @@ -195,22 +195,22 @@ function package_compile_crypto {
# Installing Package to compile crypto currency
echo -e "$CYAN Installing needed Package to compile crypto currency $COL_RESET"

hide_output sudo apt -y install software-properties-common build-essential
hide_output sudo apt -y install libtool autotools-dev automake pkg-config libssl-dev libevent-dev bsdmainutils git cmake libboost-all-dev zlib1g-dev libz-dev libseccomp-dev libcap-dev libminiupnpc-dev gettext
hide_output sudo apt -y install libminiupnpc10 libzmq5
hide_output sudo apt -y install libcanberra-gtk-module libqrencode-dev libzmq3-dev
hide_output sudo apt -y install libqt5gui5 libqt5core5a libqt5webkit5-dev libqt5dbus5 qttools5-dev qttools5-dev-tools libprotobuf-dev protobuf-compiler
hide_output sudo apt-get -y install software-properties-common build-essential
hide_output sudo apt-get -y install libtool autotools-dev automake pkg-config libssl-dev libevent-dev bsdmainutils git cmake libboost-all-dev zlib1g-dev libz-dev libseccomp-dev libcap-dev libminiupnpc-dev gettext
hide_output sudo apt-get -y install libminiupnpc10 libzmq5
hide_output sudo apt-get -y install libcanberra-gtk-module libqrencode-dev libzmq3-dev
hide_output sudo apt-get -y install libqt5gui5 libqt5core5a libqt5webkit5-dev libqt5dbus5 qttools5-dev qttools5-dev-tools libprotobuf-dev protobuf-compiler
hide_output sudo add-apt-repository -y ppa:bitcoin/bitcoin
hide_output sudo apt -y update
hide_output sudo apt -y install libdb4.8-dev libdb4.8++-dev libdb5.3 libdb5.3++
hide_output sudo apt-get -y update
hide_output sudo apt-get -y install libdb4.8-dev libdb4.8++-dev libdb5.3 libdb5.3++

hide_output sudo apt-get -y install build-essential libzmq5 \
libtool autotools-dev automake pkg-config libssl-dev libevent-dev bsdmainutils git cmake libboost-all-dev zlib1g-dev libz-dev \
libseccomp-dev libcap-dev libminiupnpc-dev gettext libminiupnpc10 libcanberra-gtk-module libqrencode-dev libzmq3-dev \
libqt5gui5 libqt5core5a libqt5webkit5-dev libqt5dbus5 qttools5-dev qttools5-dev-tools libprotobuf-dev protobuf-compiler
hide_output sudo apt -y update && sudo apt -y upgrade
hide_output sudo apt-get update && sudo apt-get upgrade -y

hide_output sudo apt -y install libgmp-dev libunbound-dev libsodium-dev libunwind8-dev liblzma-dev libreadline6-dev libldns-dev libexpat1-dev \
hide_output sudo apt-get -y install libgmp-dev libunbound-dev libsodium-dev libunwind8-dev liblzma-dev libreadline6-dev libldns-dev libexpat1-dev \
libpgm-dev libhidapi-dev libusb-1.0-0-dev libudev-dev libboost-chrono-dev libboost-date-time-dev libboost-filesystem-dev \
libboost-locale-dev libboost-program-options-dev libboost-regex-dev libboost-serialization-dev libboost-system-dev libboost-thread-dev \
python3 default-libmysqlclient-dev libnghttp2-dev librtmp-dev libssh2-1 libssh2-1-dev libldap2-dev libidn11-dev libpsl-dev
Expand Down
2 changes: 1 addition & 1 deletion install/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 --nocancel --default-item 1 --title "Yiimpool Menu v0.4.5" --menu "Choose one" -1 60 16 \
RESULT=$(dialog --stdout --nocancel --default-item 1 --title "Yiimpool Menu v0.4.6" --menu "Choose one" -1 60 16 \
' ' "- Install Yiimp -" \
1 "YiiMP Single Server" \
' ' "- Daemon Wallet Builder -" \
Expand Down
2 changes: 1 addition & 1 deletion install/start.sh
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ else
cd $HOME/yiimp_install_script/install
source menu.sh
echo "<-------------------------------------|--------------------------------------->"
echo -e "$YELLOW Thank you for using Yiimp Install Script$GREEN v0.4.5 $YELLOW fork by Afiniel! $COL_RESET"
echo -e "$YELLOW Thank you for using Yiimp Install Script$GREEN v0.4.6 $YELLOW fork by Afiniel! $COL_RESET"
echo
echo -e "$YELLOW => To run this installer anytime simply type:$GREEN yiimpool $COL_RESET"
echo "<----------------------------------------------------------------------------->"
Expand Down
10 changes: 5 additions & 5 deletions yiimp_single/send_mail.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,14 +18,14 @@ function print_error {
trap print_error ERR

if [[ ("$wireguard" == "true") ]]; then
source $STORAGE_ROOT/yiimp/.wireguard.conf
source $STORAGE_ROOT/yiimp/.wireguard.conf
fi

echo -e "$YELLOW => Installing mail system $COL_RESET"

sudo debconf-set-selections <<<"postfix postfix/mailname string ${PRIMARY_HOSTNAME}"
sudo debconf-set-selections <<<"postfix postfix/main_mailer_type string 'Internet Site'"
apt_install mailutils
sudo apt-get install mailutils -y

sudo sed -i 's/inet_interfaces = all/inet_interfaces = loopback-only/g' /etc/postfix/main.cf
sudo sed -i 's/myhostname =/# myhostname =/g' /etc/postfix/main.cf
Expand All @@ -37,11 +37,11 @@ sudo systemctl restart postfix
whoami=$(whoami)


sudo sed -i '/postmaster: root/a root:'${SupportEmail}''/etc/aliases
sudo sed -i '/root:/a '$whoami':'${SupportEmail}''/etc/aliases
sudo sed -i '/postmaster: root/a root: '${SupportEmail}'' /etc/aliases
sudo sed -i '/root:/a '$whoami': '${SupportEmail}'' /etc/aliases
sudo newaliases

sudo adduser $whoami mail
echo -e "$GREEN Mail system complete$COL_RESET"
echo -e "$GREEN Mail system complete $COL_RESET"
set +eu +o pipefail
cd $HOME/yiimp_install_script/yiimp_single
2 changes: 1 addition & 1 deletion yiimp_single/start.sh
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ fi

echo
echo "<-------------------------------------|--------------------------------------->"
echo -e "$YELLOW Thank you for using Yiimp Install Script$GREEN v0.4.5 $YELLOW fork by Afiniel! $COL_RESET"
echo -e "$YELLOW Thank you for using Yiimp Install Script$GREEN v0.4.6 $YELLOW fork by Afiniel! $COL_RESET"
echo
echo -e "$YELLOW => To run this installer anytime simply type:$GREEN yiimpool $COL_RESET"
echo "<----------------------------------------------------------------------------->"
Expand Down
2 changes: 1 addition & 1 deletion yiimp_single/ubuntu/etc/update-motd.d/00-header
Original file line number Diff line number Diff line change
Expand Up @@ -36,5 +36,5 @@ fi
figlet -f slant -w 100 "YiimpooL"
printf "\n"

printf "Welcome to %s (%s).\n" "$DISTRIB_DESCRIPTION" "YiimPool Version v0.4.5"
printf "Welcome to %s (%s).\n" "$DISTRIB_DESCRIPTION" "YiimPool Version v0.4.6"
printf "\n"

0 comments on commit 51b4a2f

Please sign in to comment.