Update linupx-scripts.sh

This commit is contained in:
2022-11-27 21:00:53 -06:00
parent 7fbe8fd190
commit 9f95c88377

View File

@@ -354,10 +354,10 @@ 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
sudo update-initramfs -u
echo
echo -e "${Green}Floppy has been removed, you must reboot to take effect.${Color_Off}"
echo