install.sh 652 B

1234567891011121314151617181920212223242526272829303132333435
  1. #! /bin/sh
  2. echo -e '
  3. _ _ _ _ ___ __ __ ___
  4. /_\ | |_ __(_)_ _ ___ | | | __| \/ | _ \
  5. / _ \| | ._ \ | . \/ -_) | |__| _|| |\/| | _/
  6. /_/ \_\_| .__/_|_||_\___| |____|___|_| |_|_|
  7. |_|
  8. '
  9. echo -e "\033[35;1mThis script has been tested only on Alpine Linux \033[0m"
  10. . bin/checkroot.sh
  11. echo -n "Should we start? [Y|n] "
  12. read yn
  13. yn=${yn:-y}
  14. if [ "$yn" != "y" ]; then
  15. echo -e "aborting script!"
  16. exit
  17. fi
  18. # get the current position
  19. _cwd="$(pwd)"
  20. . bin/upgrade
  21. . bin/dotfiles.sh
  22. . bin/bash
  23. . bin/user.sh
  24. . bin/ssh.sh
  25. . bin/misc.sh
  26. . bin/ufw.sh
  27. . bin/fail2ban.sh
  28. . bin/knockd.sh
  29. # . bin/email.sh
  30. . bin/lemp.sh