We have OS-specific modules, and it is vital that we skip then on
OSes that they do not apply to.
dracutfunctions=$dsrc/dracut-functions
export dracutfunctions
-[[ $dracutmodules ]] || dracutmodules="all"
+[[ $dracutmodules ]] || dracutmodules="auto"
[[ $dracutmodules = "auto" ]] && {
dracutmodules="all"
skipmissing="yes"
# $1 = location of module
mod=${1##*/}; mod=${mod#[0-9][0-9]};
if [[ $dracutmodules != all ]]; then
- strstr "$dracutmodules " "$mod " || return 1;;
+ strstr "$dracutmodules " "$mod " || return 1
fi
skip_missing "$1"
}