diff --git a/du_setup.sh b/du_setup.sh index 544cabc..4edf8a6 100644 --- a/du_setup.sh +++ b/du_setup.sh @@ -1,8 +1,10 @@ #!/bin/bash # Debian and Ubuntu Server Hardening Interactive Script -# Version: 0.78.3 | 2025-11-26 +# Version: 0.78.4 | 2025-11-27 # Changelog: +# - v0.78.4: Improved configure_swap to detect swap partitions vs files. +# Prevents 'fallocate' crashes on physical partitions by offering to disable them or skip. # - v0.78.3: Update the summary to try to show the right environment detection based on finding personal VMs and cloud VPS. # Run update & upgrade in the final step to ensure system is fully updated after restart. # - v0.78.2: In configure_system set choosen hostname from collect_config in the /etc/hosts @@ -93,7 +95,7 @@ set -euo pipefail # --- Update Configuration --- -CURRENT_VERSION="0.78.3" +CURRENT_VERSION="0.78.4" SCRIPT_URL="https://raw.githubusercontent.com/buildplan/du_setup/refs/heads/main/du_setup.sh" CHECKSUM_URL="${SCRIPT_URL}.sha256" @@ -249,7 +251,7 @@ print_header() { printf '%s\n' "${CYAN}╔═════════════════════════════════════════════════════════════════╗${NC}" printf '%s\n' "${CYAN}║ ║${NC}" printf '%s\n' "${CYAN}║ DEBIAN/UBUNTU SERVER SETUP AND HARDENING SCRIPT ║${NC}" - printf '%s\n' "${CYAN}║ v0.78.3 | 2025-11-25 ║${NC}" + printf '%s\n' "${CYAN}║ v0.78.4 | 2025-11-27 ║${NC}" printf '%s\n' "${CYAN}║ ║${NC}" printf '%s\n' "${CYAN}╚═════════════════════════════════════════════════════════════════╝${NC}" printf '\n'