fixing depandencies
This commit is contained in:
parent
6ccf4dd9c6
commit
6d9c423ab7
10
script.sh
10
script.sh
@ -13,7 +13,7 @@ if [[ "$ansFirewallSetup" =~ ("N"|"n") ]]; then
|
|||||||
|
|
||||||
printf "+ Thanks, working on next bit\n"
|
printf "+ Thanks, working on next bit\n"
|
||||||
|
|
||||||
else
|
elif [[ "$ansFirewallSetup" =~ ("Y"|"y") || -z $ansFirewallSetup ]]; then
|
||||||
|
|
||||||
printf "Do you want to block non-LAN ssh connections? [Y/n/castom]: "
|
printf "Do you want to block non-LAN ssh connections? [Y/n/castom]: "
|
||||||
read sshBlockRange
|
read sshBlockRange
|
||||||
@ -58,7 +58,13 @@ sudo apt upgrade -y
|
|||||||
|
|
||||||
# Installing depandencies
|
# Installing depandencies
|
||||||
printf "\n+ Installing depandencies \n\n"
|
printf "\n+ Installing depandencies \n\n"
|
||||||
sudo apt install openjdk-17-jre-headless screen p7zip-full iptables -y
|
sudo apt install openjdk-21-jre-headless screen -y
|
||||||
|
|
||||||
|
if [[ "$ansFirewallSetup" =~ ("y"|"Y") || -z $ansFirewallSetup ]]; then
|
||||||
|
|
||||||
|
sudo apt install iptables -y
|
||||||
|
|
||||||
|
fi
|
||||||
|
|
||||||
# User and groupe managment
|
# User and groupe managment
|
||||||
printf "\n+ Creating user minecraft and basic file structure"
|
printf "\n+ Creating user minecraft and basic file structure"
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user