Update linupx-scripts.sh

This commit is contained in:
2022-11-27 20:48:31 -06:00
parent 21fd604b3a
commit f86b0f5044

View File

@@ -354,7 +354,7 @@ DSMON_INSTALL() {
}
REMOVEFLOPPY() {
echo ""
if [ ! -f /etc/modprobe.d/blacklist-floppy.conf ]; then
if [ -f /etc/modprobe.d/blacklist-floppy.conf ]; then
echo "blacklist floppy" | sudo tee /etc/modprobe.d/blacklist-floppy.conf
sudo rmmod floppy
#sudo update-initramfs -u