FLEXCOP-PCI: fix __xlate_proc_name-warning for flexcop-pci
[linux-2.6/linux-acpi-2.6/ibm-acpi-2.6.git] / Documentation / aoe / autoload.sh
blob78dad1334c6fc90d70f879df13a200e851f887ac
1 #!/bin/sh
2 # set aoe to autoload by installing the
3 # aliases in /etc/modprobe.conf
5 f=/etc/modprobe.conf
7 if test ! -r $f || test ! -w $f; then
8 echo "cannot configure $f for module autoloading" 1>&2
9 exit 1
12 grep major-152 $f >/dev/null
13 if [ $? = 1 ]; then
14 echo alias block-major-152 aoe >> $f
15 echo alias char-major-152 aoe >> $f