diff options
-rwxr-xr-x | load-modules.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/load-modules.sh b/load-modules.sh index 68aa3f5..4631dac 100755 --- a/load-modules.sh +++ b/load-modules.sh @@ -27,7 +27,7 @@ BLACKLIST="$(echo "${BLACKLIST}" | ${SED} 's|-|_|g')" if [ -n "${BLACKLIST}" ] ; then # Try to find all modules for the alias - mods="$($RESOLVEALIAS /lib/modules/$(uname -r)/modules.alias $1)" + mods="$($RESOLVEALIAS $1)" # If no modules could be found, try if the alias name is a module name # In that case, omit the --use-blacklist parameter to imitate normal modprobe behaviour [ -z "${mods}" ] && $MODPROBE -qni $1 && mods="$1" && USEBLACKLIST="" |