fix: protección contra copy.fail

This commit is contained in:
f
2026-05-01 12:00:02 -03:00
parent 92e54a99ae
commit 9a34a258ea

View File

@ -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/"