summaryrefslogtreecommitdiffstats
path: root/install/pata
diff options
context:
space:
mode:
Diffstat (limited to 'install/pata')
-rw-r--r--install/pata6
1 files changed, 4 insertions, 2 deletions
diff --git a/install/pata b/install/pata
index 76f268c..bcf3809 100644
--- a/install/pata
+++ b/install/pata
@@ -1,11 +1,13 @@
#!/bin/bash
build() {
+ local filter added
+
for filter in 'ata/pata_*' 'ata/ata_generic' 'ata/ata_piix'; do
- MODULES+=" $(checked_modules "$filter")"
+ add_checked_modules "$filter" && (( ++added ))
done
- [[ $MODULES ]] && MODULES+=" sd_mod?"
+ (( added )) && add_module "sd_mod?"
}
help() {