Browse Source

platform dir

merge-requests/2/head
Steven Foerster 6 years ago
parent
commit
e2fa3d6473
  1. 7
      scripts/install.sh

7
scripts/install.sh

@ -57,9 +57,6 @@ echo -e "| | | | \__ \ |_| |_) | (_) | | | | | |"
echo -e "|_| |_|_|___/\__|_.__/ \___/|_| |_| |_|" echo -e "|_| |_|_|___/\__|_.__/ \___/|_| |_| |_|"
echo -e "" echo -e ""
# get os and distro
source ./scripts/subinstallers/platform.sh
# INPUT default admin password # INPUT default admin password
if [ -z "${MISTBORN_DEFAULT_PASSWORD}" ]; then if [ -z "${MISTBORN_DEFAULT_PASSWORD}" ]; then
read -p "(Mistborn) Set default admin password: " -s MISTBORN_DEFAULT_PASSWORD read -p "(Mistborn) Set default admin password: " -s MISTBORN_DEFAULT_PASSWORD
@ -89,6 +86,10 @@ pushd .
cd /opt/mistborn cd /opt/mistborn
git submodule update --init --recursive git submodule update --init --recursive
# get os and distro
source ./scripts/subinstallers/platform.sh
# iptables # iptables
echo "Setting up firewall (iptables)" echo "Setting up firewall (iptables)"
if [ ! -f "/etc/iptables/rules.v4" ]; then if [ ! -f "/etc/iptables/rules.v4" ]; then

Loading…
Cancel
Save