Merge branch 'master' into 4.4.23

This commit is contained in:
Tom Eastep 2011-09-13 07:43:33 -07:00
commit 55129204ac
2 changed files with 38 additions and 34 deletions

View File

@ -226,6 +226,7 @@ loadmodule() # $1 = module name, $2 - * arguments
local suffix
if [ -d /sys/module/ ]; then
if ! list_search $modulename $DONT_LOAD; then
if [ ! -d /sys/module/$modulename ]; then
shift
@ -247,6 +248,7 @@ loadmodule() # $1 = module name, $2 - * arguments
done
done
fi
fi
elif ! list_search $modulename $DONT_LOAD $MODULES; then
shift

View File

@ -248,6 +248,7 @@ loadmodule() # $1 = module name, $2 - * arguments
local suffix
if [ -d /sys/module/ ]; then
if ! list_search $modulename $DONT_LOAD; then
if [ ! -d /sys/module/$modulename ]; then
shift
@ -269,6 +270,7 @@ loadmodule() # $1 = module name, $2 - * arguments
done
done
fi
fi
elif ! list_search $modulename $MODULES $DONT_LOAD ; then
shift