X-Git-Url: https://iankelling.org/git/?a=blobdiff_plain;f=distro-begin;h=9a7a9adae33d41b3298d98e78971d2cba1556a0c;hb=3f437c0f6c11356451d5d739875eee2d4603d7ca;hp=a408d27bec7b3919e5a24e05e69502de9c4c4eb9;hpb=aeb3f88455a90def90a645a7b5567d55dda18339;p=distro-setup diff --git a/distro-begin b/distro-begin index a408d27..9a7a9ad 100755 --- a/distro-begin +++ b/distro-begin @@ -289,11 +289,14 @@ case $distro in trisquel|ubuntu) # noticed in flidas. #https://bugs.launchpad.net/ubuntu/+source/module-init-tools/+bug/240553 + #https://wiki.debian.org/KernelModuleBlacklisting + #common advice when searching is to use /etc/modprobe.d/blacklist.conf, + #but that file won't work and will get automatically reverted sudo rmmod evbug ||: # might not be loaded yet - file=/etc/modprobe.d/blacklist.conf + file=/etc/modprobe.d/evbug.conf line="blacklist evbug" if ! grep -xFq "$line" $file; then - sudo tee -a $file &>/dev/null <<<"$line" + sudo dd of=$file 2>/dev/null <<<"$line" sudo depmod -a sudo update-initramfs -u fi