diff options
author | Thomas Bächler <thomas@archlinux.org> | 2010-01-14 17:49:45 +0100 |
---|---|---|
committer | Thomas Bächler <thomas@archlinux.org> | 2010-01-14 17:49:45 +0100 |
commit | 880bc44f247e9b32d0c9aebd40d1a16a660fbf64 (patch) | |
tree | c1f5fefbf8672d618e4dec26390252f50876ae8c /load-modules.sh | |
parent | 6cd3bb0e81a8bb13feffafb8f1ed30138f404b93 (diff) | |
download | mkinitcpio-880bc44f247e9b32d0c9aebd40d1a16a660fbf64.tar.gz mkinitcpio-880bc44f247e9b32d0c9aebd40d1a16a660fbf64.tar.xz |
Correct ${RESOLVEALIAS} usage that broke after the last commit
Diffstat (limited to 'load-modules.sh')
-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="" |