summaryrefslogtreecommitdiffstats
path: root/install
diff options
context:
space:
mode:
authorDave Reisner <dreisner@archlinux.org>2011-07-09 16:54:48 +0200
committerDave Reisner <dreisner@archlinux.org>2011-07-09 16:58:16 +0200
commita27ed60a3ce13d2eaf38cee583f823eb874c4056 (patch)
tree94f76a914a51024207e6d433373f90003a6fd00c /install
parent8df95abf67b3fe56d0a9b621f07bb0444a75e758 (diff)
downloadmkinitcpio-a27ed60a3ce13d2eaf38cee583f823eb874c4056.tar.gz
mkinitcpio-a27ed60a3ce13d2eaf38cee583f823eb874c4056.tar.xz
autodetect: add verbose feedback on autodetect success
Signed-off-by: Dave Reisner <dreisner@archlinux.org>
Diffstat (limited to 'install')
-rw-r--r--install/autodetect4
1 files changed, 4 insertions, 0 deletions
diff --git a/install/autodetect b/install/autodetect
index 69619c0..4001977 100644
--- a/install/autodetect
+++ b/install/autodetect
@@ -25,6 +25,10 @@ build() {
error "Insufficient permission to perform autodetection for mdadm devices"
raid_autodetect_failed=1
fi
+
+ if (( !QUIET )) && [[ -s $MODULE_FILE ]]; then
+ plain "caching %d modules" $(wc -l < "$MODULE_FILE")
+ fi
}
help() {