From 7b6b2316bde86f21d44fdd3b5b3da5284c1bbdd1 Mon Sep 17 00:00:00 2001 From: Aaron Griffin Date: Tue, 25 Apr 2006 05:41:53 +0000 Subject: git-svn-id: http://projects.archlinux.org/svn/initramfs/mkinitcpio@10 880c04e9-e011-0410-abf7-b926e227c9cd --- ide-auto | 35 ----------------------------------- 1 file changed, 35 deletions(-) delete mode 100644 ide-auto (limited to 'ide-auto') diff --git a/ide-auto b/ide-auto deleted file mode 100644 index eb728b1..0000000 --- a/ide-auto +++ /dev/null @@ -1,35 +0,0 @@ -# vim: set ft=sh: - -install () -{ - MODULES="" - for m in $(auto_modules | grep "/ide/"); - do - MODULES="$MODULES $(basename $m)" - done - BINARIES="" - FILES="" -} - -run_hook () -{ - if [ -e /proc/ide ]; then - msg -n "Loading ide modules..." - /bin/modprobe -q ide-generic >/dev/null 2>&1 - for d in /proc/ide/*; do - unit=${d#/proc/ide/} - if [ -e "${d}/media" -a ! -d "/sys/block/${unit}" ]; then - read m < "${d}/media" - case "${m}" in - disk) /bin/modprobe -q ide-disk >/dev/null 2>&1;; - cdrom) /bin/modprobe -q ide-cd >/dev/null 2>&1;; - tape) /bin/modprobe -q ide-tape >/dev/null 2>&1;; - floppy) /bin/modprobe -q ide-floppy >/dev/null 2>&1;; - esac - fi - done - msg "done" - else - err "no ide devices detected..." - fi -} -- cgit v1.2.3-24-g4f1b