mirror of
https://gitlab.archlinux.org/tpowa/archboot.git
synced 2024-09-20 12:00:37 +02:00
fix ide-legacy typo
This commit is contained in:
parent
1658c352ff
commit
30d7b3250e
1 changed files with 1 additions and 1 deletions
|
@ -5,7 +5,7 @@ run_hook ()
|
||||||
msg ":: Echo generate IDE/PATA blacklist..."
|
msg ":: Echo generate IDE/PATA blacklist..."
|
||||||
if grep -qw ide-legacy /proc/cmdline; then
|
if grep -qw ide-legacy /proc/cmdline; then
|
||||||
for i in $(echo /lib/modules/$(uname -r)/kernel/drivers/ata/*); do
|
for i in $(echo /lib/modules/$(uname -r)/kernel/drivers/ata/*); do
|
||||||
echo "blacklist $(basename $i .ko.gz | grep -e '^pata' -e '^ata_generic' -e '^ata_piix' | s)" >> /etc/modprobe.d/ide-blacklist.conf
|
echo "blacklist $(basename $i .ko.gz | grep -e '^pata' -e '^ata_generic' -e '^ata_piix')" >> /etc/modprobe.d/ide-blacklist.conf
|
||||||
done
|
done
|
||||||
msg "Blacklisted IDE modules (new subsystem) for udev:"
|
msg "Blacklisted IDE modules (new subsystem) for udev:"
|
||||||
msg "--------------------------------------"
|
msg "--------------------------------------"
|
||||||
|
|
Loading…
Reference in a new issue