diff --git a/huerta-init.sh b/huerta-init.sh index fbcd0ec..a1388b2 100755 --- a/huerta-init.sh +++ b/huerta-init.sh @@ -20,6 +20,11 @@ fi apt update apt install -y dropbear-initramfs busybox-initramfs smartmontools git rsync make tinc dialog locales bash-completion gnutls-bin nano +if ! test -f /etc/modprobe.d/disable-algif.conf; then + ok "Proteger contra copy.fail" + echo "install algif_aead /bin/false" > /etc/modprobe.d/disable-algif.conf +fi + ok "No permitir suspensión" sed -re "s/^#(HandleLidSwitch=).*/\1ignore/" -e "s/^#(HandleLidSwitchDocked=).*/\1ignore/"