diff options
author | Aaron Griffin <aaron@archlinux.org> | 2006-04-20 22:46:09 +0200 |
---|---|---|
committer | Aaron Griffin <aaron@archlinux.org> | 2006-04-20 22:46:09 +0200 |
commit | 56326bb6b78eacc92b71e55a28974bf335396644 (patch) | |
tree | b7e70ba2247f9d44ee6afa8353ea094231b78577 /ide-auto | |
parent | fb2046ba69906fc3c019cebb12e33f645eafefd1 (diff) | |
download | mkinitcpio-56326bb6b78eacc92b71e55a28974bf335396644.tar.gz mkinitcpio-56326bb6b78eacc92b71e55a28974bf335396644.tar.xz |
usage() addition, output fixes
git-svn-id: http://projects.archlinux.org/svn/initramfs/mkinitcpio@3 880c04e9-e011-0410-abf7-b926e227c9cd
Diffstat (limited to 'ide-auto')
-rw-r--r-- | ide-auto | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -15,16 +15,16 @@ run_hook () { if [ -e /proc/ide ]; then msg -n "Loading ide modules..." - /bin/modprobe -q ide-generic 2>&1 >/dev/null + /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 2>&1 >/dev/null ;; - cdrom) /bin/modprobe -q ide-cd 2>&1 >/dev/null ;; - tape) /bin/modprobe -q ide-tape 2>&1 >/dev/null ;; - floppy) /bin/modprobe -q ide-floppy 2>&1 >/dev/null ;; + 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 |