blacklist floppy

This commit is contained in:
2022-10-08 14:34:23 +00:00
parent 2d9573ad2e
commit 9f1df0e18c

View File

@@ -33,6 +33,11 @@ if [ -f /var/log/lastlog ]; then
truncate -s0 /var/log/lastlog
fi
# remove floppy support
sudo rmmod floppy
echo "blacklist floppy" | tee /etc/modprobe.d/blacklist-floppy.config
update-initramfs -u
#cleanup /tmp directories
rm -rf /tmp/*
rm -rf /var/tmp/*