summaryrefslogtreecommitdiffstats
path: root/ide-auto
diff options
context:
space:
mode:
authorAaron Griffin <aaron@archlinux.org>2006-04-20 22:46:09 +0200
committerAaron Griffin <aaron@archlinux.org>2006-04-20 22:46:09 +0200
commit56326bb6b78eacc92b71e55a28974bf335396644 (patch)
treeb7e70ba2247f9d44ee6afa8353ea094231b78577 /ide-auto
parentfb2046ba69906fc3c019cebb12e33f645eafefd1 (diff)
downloadmkinitcpio-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-auto10
1 files changed, 5 insertions, 5 deletions
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