-
Notifications
You must be signed in to change notification settings - Fork 20
Expand file tree
/
Copy pathmenu.sh
More file actions
30 lines (26 loc) · 857 Bytes
/
menu.sh
File metadata and controls
30 lines (26 loc) · 857 Bytes
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
################################################################################
# Source https://mailinabox.email/ https://github.com/mail-in-a-box/mailinabox #
# Updated by Dirty Harry for YiiMP use... #
# This script is intended to be ran from the Yiimp Server Installer #
################################################################################
source /etc/functions.sh
RESULT=$(dialog --stdout --nocancel --default-item 1 --title "Dirty Harry Yiimp Server Installer v1.0" --menu "Choose one" -1 60 16 \
' ' "- YiiMP Server Install -" \
1 "YiiMP Single Server" \
' ' "- More Will Be Added Later -" \
2 Exit)
if [ $RESULT = ]
then
bash $(basename $0) && exit;
fi
if [ $RESULT = 1 ]
then
clear;
cd $HOME/yiimpserver/install
source bootstrap_single.sh;
fi
if [ $RESULT = 2 ]
then
clear;
exit;
fi