Skip to content

Commit

Permalink
Update setup.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
simylein authored Oct 21, 2020
1 parent b9b39c0 commit 75fa68b
Showing 1 changed file with 0 additions and 16 deletions.
16 changes: 0 additions & 16 deletions setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -85,16 +85,6 @@ echo -e "Usally it is something like this Example:${yellow}192.168.1.1${nocolor}
read -p "Your interface:" interface
echo -e "Your server will use ${green}${interface}${nocolor} as an interface"

echo "Tell me where your java binary is located"
echo -e "Usally it is Example:${yellow}/usr/bin/java${nocolor}"
read -p "Your location of the java binary:" java
echo -e "Your server will access${green}${java}${nocolor} as java binary"

echo "Tell me where your screen binary is located"
echo -e "Usally it is Example:${yellow}/usr/bin/screen${nocolor}"
read -p "Your location of the screen binary:" screen
echo -e "Your server will access${green}${screen}${nocolor} as screen binary"

echo "How much minimum memory would you like to grant your Server?"
echo -e "Please enter like this: Example:${yellow}-Xms256M${nocolor}"
read -p "Your amount:" mems
Expand Down Expand Up @@ -174,12 +164,6 @@ echo "storing variables in server.settings..."
for var in interface; do
declare -p $var | cut -d ' ' -f 3- >> server.settings
done
for var in java; do
declare -p $var | cut -d ' ' -f 3- >> server.settings
done
for var in screen; do
declare -p $var | cut -d ' ' -f 3- >> server.settings
done
for var in mems; do
declare -p $var | cut -d ' ' -f 3- >> server.settings
done
Expand Down

0 comments on commit 75fa68b

Please sign in to comment.