summaryrefslogtreecommitdiffstats
path: root/install/autodetect
diff options
context:
space:
mode:
authorThomas Bächler <thomas@archlinux.org>2006-10-23 22:11:02 +0200
committerThomas Bächler <thomas@archlinux.org>2006-10-23 22:11:02 +0200
commit6a2514b3009f7793b546871f159065690da13d87 (patch)
tree5eed0d770125a3496a75be2cd97a2e9bc49b8bfe /install/autodetect
parentda24b3230234a6d73a7ea1d52422245522201d26 (diff)
downloadmkinitcpio-6a2514b3009f7793b546871f159065690da13d87.tar.gz
mkinitcpio-6a2514b3009f7793b546871f159065690da13d87.tar.xz
- Fixed autodetection
- Minor changes to presets - Removed ata, made sata 2.6.19-ready and added pata git-svn-id: http://projects.archlinux.org/svn/initramfs/mkinitcpio@179 880c04e9-e011-0410-abf7-b926e227c9cd
Diffstat (limited to 'install/autodetect')
-rw-r--r--install/autodetect2
1 files changed, 1 insertions, 1 deletions
diff --git a/install/autodetect b/install/autodetect
index f2c7cd1..a743601 100644
--- a/install/autodetect
+++ b/install/autodetect
@@ -40,7 +40,7 @@ install ()
for m in $AUTODETECT; do
modname="$(basename ${m%%\.ko})"
- grep "${modname}" "${MODULE_FILE}" >/dev/null 2>&1 && continue
+ grep "^${modname}$" "${MODULE_FILE}" >/dev/null 2>&1 && continue
case "${m}" in
#*/ieee1394/*) echo -e "sbp2\nsd_mod\nsr_mod" >> "${MODULE_FILE}";;
*ext3*) echo "jbd" >> "${MODULE_FILE}" ;;