From 880bc44f247e9b32d0c9aebd40d1a16a660fbf64 Mon Sep 17 00:00:00 2001 From: Thomas Bächler Date: Thu, 14 Jan 2010 17:49:45 +0100 Subject: Correct ${RESOLVEALIAS} usage that broke after the last commit --- load-modules.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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="" -- cgit v1.2.3-24-g4f1b