blacklist floppy
This commit is contained in:
@@ -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/*
|
||||
|
||||
Reference in New Issue
Block a user