From 56326bb6b78eacc92b71e55a28974bf335396644 Mon Sep 17 00:00:00 2001 From: Aaron Griffin Date: Thu, 20 Apr 2006 20:46:09 +0000 Subject: usage() addition, output fixes git-svn-id: http://projects.archlinux.org/svn/initramfs/mkinitcpio@3 880c04e9-e011-0410-abf7-b926e227c9cd --- ide-auto | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'ide-auto') diff --git a/ide-auto b/ide-auto index ce415af..eb728b1 100644 --- a/ide-auto +++ b/ide-auto @@ -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 -- cgit v1.2.3-24-g4f1b