-
Notifications
You must be signed in to change notification settings - Fork 32
/
Copy pathmenu.sh
63 lines (55 loc) · 1.28 KB
/
menu.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
#####################################################
# Source code https://github.com/end222/pacmenu
# Updated by cryptopool.builders for crypto use...
#####################################################
source /etc/functions.sh
RESULT=$(dialog --stdout --nocancel --default-item 1 --title "Ultimate Crypto-Server Setup Installer v1.52" --menu "Choose one" -1 63 10 \
' ' "- Required if your Host does Not provide Private IPs -" \
1 "Install Wireguard Network" \
' ' "- Three Server Configuration -" \
2 "YiiMP - DB-Stratum, Web, Daemon" \
' ' "- Four Server Configuration -" \
3 "YiiMP - DB, Web, Stratum, Daemon" \
' ' "- Add Additional Servers -" \
4 "YiiMP - Additional Stratum Server(s)" \
5 "YiiMP - Additional Daemon Server(s)" \
6 Exit)
if [ $RESULT = ]
then
bash $(basename $0) && exit;
fi
if [ $RESULT = 1 ]
then
clear;
cd $HOME/multipool/yiimp_multi
source wireguard_menu.sh;
fi
if [ $RESULT = 2 ]
then
clear;
cd $HOME/multipool/yiimp_multi
source install_combo.sh;
fi
if [ $RESULT = 3 ]
then
clear;
cd $HOME/multipool/yiimp_multi
source install_multi.sh;
fi
if [ $RESULT = 4 ]
then
clear;
cd $HOME/multipool/yiimp_multi
source install_add_strat.sh;
fi
if [ $RESULT = 5 ]
then
clear;
cd $HOME/multipool/yiimp_multi
source install_add_daemon.sh;
fi
if [ $RESULT = 6 ]
then
clear;
exit;
fi